Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc3203cd authored by Trond Myklebust's avatar Trond Myklebust
Browse files

Merge tag 'nfs-rdma-for-3.20-part-2' of git://git.linux-nfs.org/projects/anna/nfs-rdma



NFS: RDMA Client Sparse Fixes

This patch fixes a sparse warning in the initial submission.

Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>

* tag 'nfs-rdma-for-3.20-part-2' of git://git.linux-nfs.org/projects/anna/nfs-rdma:
  xprtrdma: Address sparse complaint in rpcr_to_rdmar()
parents 4ef2e4f8 b625a616
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -270,9 +270,10 @@ struct rpcrdma_req {
static inline struct rpcrdma_req *
rpcr_to_rdmar(struct rpc_rqst *rqst)
{
	struct rpcrdma_regbuf *rb = container_of(rqst->rq_buffer,
						 struct rpcrdma_regbuf,
						 rg_base[0]);
	void *buffer = rqst->rq_buffer;
	struct rpcrdma_regbuf *rb;

	rb = container_of(buffer, struct rpcrdma_regbuf, rg_base);
	return rb->rg_owner;
}