projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b1251
)
sctp: Fix warning in sctp_packet_transmit_chunk()
author
David S. Miller
<davem@davemloft.net>
Sat, 4 Jun 2016 05:53:26 +0000
(22:53 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 4 Jun 2016 05:53:26 +0000
(22:53 -0700)
size_t objects should be printed with %Z printf format.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/output.c
b/net/sctp/output.c
index 90d2e125c2f5e0e1ecb33a7eab10772e5b39567c..1541a91d6d9de13927951a6215c423ea0ffa13dc 100644
(file)
--- a/
net/sctp/output.c
+++ b/
net/sctp/output.c
@@
-182,7
+182,7
@@
sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *packet,
sctp_xmit_t retval;
int error = 0;
- pr_debug("%s: packet:%p size:%
l
u chunk:%p size:%d\n", __func__,
+ pr_debug("%s: packet:%p size:%
Z
u chunk:%p size:%d\n", __func__,
packet, packet->size, chunk, chunk->skb ? chunk->skb->len : -1);
switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) {