diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-16 03:37:16 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-16 03:38:25 -0400 |
commit | 0fb1f14e88f6f814fc578d0b8b3de666d1c9327e (patch) | |
tree | c7786d18c535fb093dee83de661b391ae496455c /drivers/xen | |
parent | 196e2e2aa362850bf45bcb14b9517124b23b921e (diff) |
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')
-rw-r--r-- | drivers/xen/xen-scsiback.c | 2 |
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, | |||
908 | mutex_unlock(&scsiback_mutex); | 908 | mutex_unlock(&scsiback_mutex); |
909 | 909 | ||
910 | if (!tpg) { | 910 | if (!tpg) { |
911 | pr_err("%s:%d %s\n", phy, unpacked_lun, error); | 911 | pr_err("%s:%llu %s\n", phy, unpacked_lun, error); |
912 | return -ENODEV; | 912 | return -ENODEV; |
913 | } | 913 | } |
914 | 914 | ||