git-scsi-misc-scsi_kmap_atomic_sg-warning-fix
PATCH 1/17 git-scsi-misc-scsi_kmap_atomic_sg-warning-fix
From: Andrew Morton <[email protected]>
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 <[email protected]>
---
drivers/scsi/scsi_lib.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-)
drivers/scsi/scsi_lib.c renamed from drivers/scsi/scsi_lib.c~git-scsi-misc-scsi_kmap_atomic_sg-warning-fix +2 -1
@@ -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 ;
_