Commit e5241c44 authored by David S. Miller's avatar David S. Miller

ieee802154: Use '%Zu' printf format for size_t.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84503ddd
...@@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk, ...@@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
goto out_skb; goto out_skb;
if (size > mtu) { if (size > mtu) {
pr_debug("size = %u, mtu = %u\n", size, mtu); pr_debug("size = %Zu, mtu = %u\n", size, mtu);
err = -EINVAL; err = -EINVAL;
goto out_skb; goto out_skb;
} }
......
...@@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, ...@@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
pr_debug("name = %s, mtu = %u\n", dev->name, mtu); pr_debug("name = %s, mtu = %u\n", dev->name, mtu);
if (size > mtu) { if (size > mtu) {
pr_debug("size = %u, mtu = %u\n", size, mtu); pr_debug("size = %Zu, mtu = %u\n", size, mtu);
err = -EINVAL; err = -EINVAL;
goto out_dev; goto out_dev;
} }
......
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