summaryrefslogtreecommitdiffstats
path: root/net/sctp/output.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-06-03 22:53:26 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-03 22:53:26 -0700
commit3b55a537d028ccc3e423e74a2037476318918341 (patch)
treec426182545df13a00e0cf1bf308a55531baa3ce1 /net/sctp/output.c
parent81b1251d3b761b303955408dd6a49618b5683c2b (diff)
downloadop-kernel-dev-3b55a537d028ccc3e423e74a2037476318918341.zip
op-kernel-dev-3b55a537d028ccc3e423e74a2037476318918341.tar.gz
sctp: Fix warning in sctp_packet_transmit_chunk()
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>
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r--net/sctp/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c
index 90d2e12..1541a91 100644
--- 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:%lu chunk:%p size:%d\n", __func__,
+ pr_debug("%s: packet:%p size:%Zu chunk:%p size:%d\n", __func__,
packet, packet->size, chunk, chunk->skb ? chunk->skb->len : -1);
switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) {
OpenPOWER on IntegriCloud