mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ieee802154: Use '%Zu' printf format for size_t.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
84503ddd65
commit
e5241c448f
2 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
|
|||
goto out_skb;
|
||||
|
||||
if (size > mtu) {
|
||||
pr_debug("size = %u, mtu = %u\n", size, mtu);
|
||||
pr_debug("size = %Zu, mtu = %u\n", size, mtu);
|
||||
err = -EINVAL;
|
||||
goto out_skb;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
if (size > mtu) {
|
||||
pr_debug("size = %u, mtu = %u\n", size, mtu);
|
||||
pr_debug("size = %Zu, mtu = %u\n", size, mtu);
|
||||
err = -EINVAL;
|
||||
goto out_dev;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue