• Stephen Rothwell's avatar
    [SUNRPC] rpc_rdma: we need to cast u64 to unsigned long long for printing · e08a132b
    Stephen Rothwell authored
    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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e08a132b
rpc_rdma.c 27.1 KB