patch-2.4.20 linux-2.4.20/drivers/block/cciss_scsi.c
Next file: linux-2.4.20/drivers/block/cpqarray.c
Previous file: linux-2.4.20/drivers/block/cciss.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Nov 28 15:53:12 2002
- Orig file:
linux-2.4.19/drivers/block/cciss_scsi.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/drivers/block/cciss_scsi.c linux-2.4.20/drivers/block/cciss_scsi.c
@@ -233,8 +233,8 @@
printk( "cciss: %d scsi commands are still outstanding.\n",
CMD_STACK_SIZE - stk->top);
// BUG();
- printk("WE HAVE A BUG HERE!!! stk=0x%08x\n",
- (unsigned int) stk);
+ printk("WE HAVE A BUG HERE!!! stk=%p\n",
+ stk);
}
size = sizeof(struct cciss_scsi_cmd_stack_elem_t) * CMD_STACK_SIZE;
@@ -1578,7 +1578,7 @@
cciss_proc_tape_report(int ctlr, unsigned char *buffer, off_t *pos, off_t *len)
{
int size;
- unsigned int flags;
+ unsigned long flags;
*pos = *pos -1; *len = *len - 1; // cut off the last trailing newline
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)