Commit 95efa286 authored by Nicholas Bellinger's avatar Nicholas Bellinger

tcm_fc: Fix conversion spec warning

This patch fixes the following conversion specification warning for size_t

drivers/target/tcm_fc/tfc_io.c: In function ‘ft_queue_data_in’:
drivers/target/tcm_fc/tfc_io.c:209: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘size_t’
Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 7c7cf3b9
...@@ -203,7 +203,7 @@ int ft_queue_data_in(struct se_cmd *se_cmd) ...@@ -203,7 +203,7 @@ int ft_queue_data_in(struct se_cmd *se_cmd)
/* XXX For now, initiator will retry */ /* XXX For now, initiator will retry */
if (printk_ratelimit()) if (printk_ratelimit())
printk(KERN_ERR "%s: Failed to send frame %p, " printk(KERN_ERR "%s: Failed to send frame %p, "
"xid <0x%x>, remaining <0x%x>, " "xid <0x%x>, remaining %zu, "
"lso_max <0x%x>\n", "lso_max <0x%x>\n",
__func__, fp, ep->xid, __func__, fp, ep->xid,
remaining, lport->lso_max); remaining, lport->lso_max);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment