summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-06-16 00:37:16 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-16 00:38:25 -0700
commit0fb1f14e88f6f814fc578d0b8b3de666d1c9327e (patch)
treec7786d18c535fb093dee83de661b391ae496455c /drivers
parent196e2e2aa362850bf45bcb14b9517124b23b921e (diff)
downloadlinux-stable-0fb1f14e88f6f814fc578d0b8b3de666d1c9327e.tar.gz
linux-stable-0fb1f14e88f6f814fc578d0b8b3de666d1c9327e.tar.bz2
linux-stable-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')
-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;
}