From: David S. Miller Date: Sat, 4 Jun 2016 05:53:26 +0000 (-0700) Subject: sctp: Fix warning in sctp_packet_transmit_chunk() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3b55a537d028ccc3e423e74a2037476318918341;p=openwrt%2Fstaging%2Fblogic.git sctp: Fix warning in sctp_packet_transmit_chunk() size_t objects should be printed with %Z printf format. Reported-by: kbuild test robot Signed-off-by: David S. Miller --- diff --git a/net/sctp/output.c b/net/sctp/output.c index 90d2e125c2f5..1541a91d6d9d 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)))) {