mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 12:46:17 +00:00
[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>
This commit is contained in:
parent
c5f2e6404c
commit
169e1a2a8a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue