OSDN Git Service

xprtrdma: Update dprintk in rpcrdma_count_chunks
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Nov 2016 15:53:29 +0000 (10:53 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 29 Nov 2016 21:45:44 +0000 (16:45 -0500)
Clean up: offset and handle should be zero-filled, just like in the
chunk encoders.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c

index d987c2d..01f5cbc 100644 (file)
@@ -786,7 +786,7 @@ rpcrdma_count_chunks(struct rpcrdma_rep *rep, int wrchunk, __be32 **iptrp)
                ifdebug(FACILITY) {
                        u64 off;
                        xdr_decode_hyper((__be32 *)&seg->rs_offset, &off);
-                       dprintk("RPC:       %s: chunk %d@0x%llx:0x%x\n",
+                       dprintk("RPC:       %s: chunk %d@0x%016llx:0x%08x\n",
                                __func__,
                                be32_to_cpu(seg->rs_length),
                                (unsigned long long)off,