Commit f2b12e09 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cciss_scsi warning

drivers/block/cciss_scsi.c: In function `scsi_cmd_stack_free':
drivers/block/cciss_scsi.c:241: warning: cast from pointer to integer of different size
parent e43bd869
......@@ -237,8 +237,7 @@ scsi_cmd_stack_free(int ctlr)
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=0x%p\n", stk);
}
size = sizeof(struct cciss_scsi_cmd_stack_elem_t) * CMD_STACK_SIZE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment