diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-16 00:37:16 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-16 00:38:25 -0700 |
commit | 0fb1f14e88f6f814fc578d0b8b3de666d1c9327e (patch) | |
tree | c7786d18c535fb093dee83de661b391ae496455c | |
parent | 196e2e2aa362850bf45bcb14b9517124b23b921e (diff) | |
download | linux-0fb1f14e88f6f814fc578d0b8b3de666d1c9327e.tar.bz2 |
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>
-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, 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; } |