From: Andrew Morton <akpm@xxxxxxxx> 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@xxxxxxxx> --- drivers/scsi/scsi_lib.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/scsi/scsi_lib.c~git-scsi-misc-scsi_kmap_atomic_sg-warning-fix drivers/scsi/scsi_lib.c --- 25/drivers/scsi/scsi_lib.c~git-scsi-misc-scsi_kmap_atomic_sg-warning-fix 2006-04-17 05:26:50.000000000 -0600 +++ 25-akpm/drivers/scsi/scsi_lib.c 2006-04-17 05:28:25.000000000 -0600 @@ -2390,7 +2390,8 @@ void *scsi_kmap_atomic_sg(struct scatter } 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; _ - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html