* [PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile
@ 2005-08-15 21:24 mikem
2005-08-15 21:55 ` Alexey Dobriyan
0 siblings, 1 reply; 2+ messages in thread
From: mikem @ 2005-08-15 21:24 UTC (permalink / raw)
To: marcelo.tosatti, axboe; +Cc: linux-kernel, linux-scsi
Patch 4/4
This patch fixes a warning during compile.
Please consider this for inclusion.
Signed-off-by: Mike Miller <mike.miller@hp.com>
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;
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile
2005-08-15 21:24 [PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile mikem
@ 2005-08-15 21:55 ` Alexey Dobriyan
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2005-08-15 21:55 UTC (permalink / raw)
To: mikem; +Cc: marcelo.tosatti, axboe, linux-kernel, linux-scsi
On Mon, Aug 15, 2005 at 04:24:25PM -0500, mikem wrote:
> This patch fixes a warning during compile.
> --- lx2431-p003/drivers/block/cciss_scsi.c
> +++ lx2431/drivers/block/cciss_scsi.c
> @@ -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);
If we have a BUG() here why it's commented out? If we don't, remove
printk() together with BUG().
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-15 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 21:24 [PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile mikem
2005-08-15 21:55 ` Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®