]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xen-scsiback: Fix compile warning for 64-bit LUN
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 16 Jun 2015 07:37:16 +0000 (00:37 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 16 Jun 2015 07:38:25 +0000 (00:38 -0700)
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>
drivers/xen/xen-scsiback.c

index 10d67802a2fb319de1e1557c2530f022fe0c6214..823bdf4cc36e37db73caf6c1479bfedefb0f1eb2 100644 (file)
@@ -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;
        }