diff options
Diffstat (limited to 'drivers/scsi')
-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; |