Commit 504945c9 authored by Randy Dunlap's avatar Randy Dunlap Committed by Stefan Richter

ieee1394: ieee1394_core printk format

Fix printk format string:
drivers/ieee1394/ieee1394_core.c:702: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 7542e0e6
...@@ -698,7 +698,7 @@ static size_t packet_size_to_data_size(size_t packet_size, size_t header_size, ...@@ -698,7 +698,7 @@ static size_t packet_size_to_data_size(size_t packet_size, size_t header_size,
ret = buffer_size; ret = buffer_size;
if (unlikely(ret + header_size != packet_size)) if (unlikely(ret + header_size != packet_size))
HPSB_ERR("unexpected packet size %d (tcode %d), bug?", HPSB_ERR("unexpected packet size %zd (tcode %d), bug?",
packet_size, tcode); packet_size, tcode);
return ret; return ret;
} }
......
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