diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-19 00:09:08 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-19 20:51:18 -0400 |
commit | 169e1a2a8a789fa84254695ec6a56fc410bb19a9 (patch) | |
tree | a12e7d6de595faae8ce3d05be54b6e6cb9c9c2fa /drivers/scsi/scsi_lib.c | |
parent | c5f2e6404c65e8380c9ba80a7d58a27d2642743b (diff) |
[SCSI] scsi_lib.c: fix warning in scsi_kmap_atomic_sg
drivers/scsi/scsi_lib.c: In function `scsi_kmap_atomic_sg':
drivers/scsi/scsi_lib.c:2394: warning: unsigned int format, different type arg (arg 3)
drivers/scsi/scsi_lib.c:2394: warning: unsigned int format, different type arg (arg 4)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 57453ca09700..68d413c444f9 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -2375,7 +2375,8 @@ void *scsi_kmap_atomic_sg(struct scatterlist *sg, int sg_count, | |||
2375 | } | 2375 | } |
2376 | 2376 | ||
2377 | if (unlikely(i == sg_count)) { | 2377 | if (unlikely(i == sg_count)) { |
2378 | printk(KERN_ERR "%s: Bytes in sg: %u, requested offset %u, elements %d\n", | 2378 | printk(KERN_ERR "%s: Bytes in sg: %zu, requested offset %zu, " |
2379 | "elements %d\n", | ||
2379 | __FUNCTION__, sg_len, *offset, sg_count); | 2380 | __FUNCTION__, sg_len, *offset, sg_count); |
2380 | WARN_ON(1); | 2381 | WARN_ON(1); |
2381 | return NULL; | 2382 | return NULL; |