SUNPRC: Fix printk format warning
Subsystems (3)
PATCH 1/1 SUNPRC: Fix printk format warning
net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64'
Signed-off-by Roland Dreier <[email protected]>
---
net/sunrpc/xprtrdma/svc_rdma_sendto.c +1 -1
@@ -159,7 +159,7 @@ static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp,BUG_ON (sge_count >=32 );dprintk ("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, " "write_len=%d, xdr_sge=%p, sge_count=%d\n" , - rmr, to, xdr_off, write_len, xdr_sge, sge_count); + rmr, (unsigned long long ) to, xdr_off, write_len, xdr_sge, sge_count); ctxt =svc_rdma_get_context (xprt); ctxt->count =0 ;
Quoted 1 line · Roland Dreier
net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64'
OK, thanks. Applied (with the long line split).
--b.
Quoted 16 lines
Signed-off-by Roland Dreier <[email protected]>---
net/sunrpc/xprtrdma/svc_rdma_sendto.c +1
-1@@ -159,7 +159,7 @@ static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp,BUG_ON (sge_count >=32 );dprintk ("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, " "write_len=%d, xdr_sge=%p, sge_count=%d\n" , - rmr, to, xdr_off, write_len, xdr_sge, sge_count); + rmr, (unsigned long long ) to, xdr_off, write_len, xdr_sge, sge_count); ctxt =svc_rdma_get_context (xprt); ctxt->count =0 ;