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

[SUNRPC]: Fix {s,}size_t printf format strings in xprt.c

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a6484045
...@@ -970,7 +970,7 @@ tcp_read_request(struct rpc_xprt *xprt, skb_reader_t *desc) ...@@ -970,7 +970,7 @@ tcp_read_request(struct rpc_xprt *xprt, skb_reader_t *desc)
goto out; goto out;
} }
dprintk("RPC: XID %08x read %u bytes\n", dprintk("RPC: XID %08x read %Zd bytes\n",
ntohl(xprt->tcp_xid), r); ntohl(xprt->tcp_xid), r);
dprintk("RPC: xprt = %p, tcp_copied = %lu, tcp_offset = %u, tcp_reclen = %u\n", dprintk("RPC: xprt = %p, tcp_copied = %lu, tcp_offset = %u, tcp_reclen = %u\n",
xprt, xprt->tcp_copied, xprt->tcp_offset, xprt->tcp_reclen); xprt, xprt->tcp_copied, xprt->tcp_offset, xprt->tcp_reclen);
...@@ -1006,7 +1006,7 @@ tcp_read_discard(struct rpc_xprt *xprt, skb_reader_t *desc) ...@@ -1006,7 +1006,7 @@ tcp_read_discard(struct rpc_xprt *xprt, skb_reader_t *desc)
desc->count -= len; desc->count -= len;
desc->offset += len; desc->offset += len;
xprt->tcp_offset += len; xprt->tcp_offset += len;
dprintk("RPC: discarded %u bytes\n", len); dprintk("RPC: discarded %Zu bytes\n", len);
tcp_check_recm(xprt); tcp_check_recm(xprt);
} }
......
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