From 0fb1f14e88f6f814fc578d0b8b3de666d1c9327e Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger Date: Tue, 16 Jun 2015 00:37:16 -0700 Subject: xen-scsiback: Fix compile warning for 64-bit LUN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/xen/xen-scsiback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/xen') 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; } -- cgit v1.2.3