summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-scsiback.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-06-16 09:37:16 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-16 09:38:25 +0200
commit0fb1f14e88f6f814fc578d0b8b3de666d1c9327e (patch)
treec7786d18c535fb093dee83de661b391ae496455c /drivers/xen/xen-scsiback.c
parenttarget: Remove TARGET_MAX_LUNS_PER_TRANSPORT (diff)
downloadlinux-0fb1f14e88f6f814fc578d0b8b3de666d1c9327e.tar.xz
linux-0fb1f14e88f6f814fc578d0b8b3de666d1c9327e.zip
xen-scsiback: Fix compile warning for 64-bit LUN
drivers/xen/xen-scsiback.c: In function ‘scsiback_add_translation_entry’: drivers/xen/xen-scsiback.c:911:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat] Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/xen/xen-scsiback.c')
-rw-r--r--drivers/xen/xen-scsiback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c
index 10d67802a2fb..823bdf4cc36e 100644
--- a/drivers/xen/xen-scsiback.c
+++ b/drivers/xen/xen-scsiback.c
@@ -908,7 +908,7 @@ static int scsiback_add_translation_entry(struct vscsibk_info *info,
mutex_unlock(&scsiback_mutex);
if (!tpg) {
- pr_err("%s:%d %s\n", phy, unpacked_lun, error);
+ pr_err("%s:%llu %s\n", phy, unpacked_lun, error);
return -ENODEV;
}