Commit e8d2250b authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] aha1542 warning fix

Fix this:

drivers/scsi/aha1542.c:74: warning: unsigned int format, different type arg (arg 5)
parent c468b1f1
...@@ -67,10 +67,10 @@ static void BAD_SG_DMA(Scsi_Cmnd * SCpnt, ...@@ -67,10 +67,10 @@ static void BAD_SG_DMA(Scsi_Cmnd * SCpnt,
int nseg, int nseg,
int badseg) int badseg)
{ {
printk(KERN_CRIT "sgpnt[%d:%d] page %p/0x%x length %u\n", printk(KERN_CRIT "sgpnt[%d:%d] page %p/0x%llx length %u\n",
badseg, nseg, badseg, nseg,
page_address(sgpnt[badseg].page) + sgpnt[badseg].offset, page_address(sgpnt[badseg].page) + sgpnt[badseg].offset,
SCSI_SG_PA(&sgpnt[badseg]), (unsigned long long)SCSI_SG_PA(&sgpnt[badseg]),
sgpnt[badseg].length); sgpnt[badseg].length);
/* /*
......
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