mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
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>
This commit is contained in:
parent
81b1251d3b
commit
3b55a537d0
@ -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)))) {
|
||||
|
Loading…
Reference in New Issue
Block a user