提交 0fb1f14e 编写于 作者: N Nicholas Bellinger

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: NNicholas Bellinger <nab@linux-iscsi.org>
上级 196e2e2a
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册