[SUNRPC] rpc_rdma: we need to cast u64 to unsigned long long for printing
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Oct 2007 07:44:32 +0000 (00:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Oct 2007 07:44:32 +0000 (00:44 -0700)
commite08a132b0ef3cf89dfbf1dea2c6248ea624bdcd7
tree20ddcedccc8659de54db6c8a063f96a7ae565989
parent064f3605be6b9b77151274f60693843cabaa09ec
[SUNRPC] rpc_rdma: we need to cast u64 to unsigned long long for printing

as some architectures have unsigned long for u64.

net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_create_chunks':
net/sunrpc/xprtrdma/rpc_rdma.c:222: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64'
net/sunrpc/xprtrdma/rpc_rdma.c:234: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'u64'
net/sunrpc/xprtrdma/rpc_rdma.c: In function 'rpcrdma_count_chunks':
net/sunrpc/xprtrdma/rpc_rdma.c:577: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64

Noticed on PowerPC pseries_defconfig build.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/xprtrdma/rpc_rdma.c