[PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile

From: mikem
Date: Mon Aug 15 2005 - 16:25:04 EST


Patch 4/4
This patch fixes a warning during compile.
Please consider this for inclusion.

Signed-off-by: Mike Miller <mike.miller@xxxxxx>

cciss_scsi.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
--------------------------------------------------------------------------------
diff -burNp lx2431-p003/drivers/block/cciss_scsi.c lx2431/drivers/block/cciss_scsi.c
--- lx2431-p003/drivers/block/cciss_scsi.c 2004-08-07 18:26:04.000000000 -0500
+++ lx2431/drivers/block/cciss_scsi.c 2005-08-15 16:03:10.022765608 -0500
@@ -220,8 +220,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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/