[SCSI] scsi_lib.c: fix warning in scsi_kmap_atomic_sg
authorAndrew Morton <akpm@osdl.org>
Wed, 19 Apr 2006 04:09:08 +0000 (21:09 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 20 Apr 2006 00:51:18 +0000 (20:51 -0400)
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>
drivers/scsi/scsi_lib.c

index 57453ca097008b3ce8fa336ea5face7300a1217a..68d413c444f9d016d807a0df67ecddc92747c244 100644 (file)
@@ -2375,7 +2375,8 @@ void *scsi_kmap_atomic_sg(struct scatterlist *sg, int sg_count,
        }
 
        if (unlikely(i == sg_count)) {
-               printk(KERN_ERR "%s: Bytes in sg: %u, requested offset %u, elements %d\n",
+               printk(KERN_ERR "%s: Bytes in sg: %zu, requested offset %zu, "
+                       "elements %d\n",
                       __FUNCTION__, sg_len, *offset, sg_count);
                WARN_ON(1);
                return NULL;