IB/srp: Fix indirect data buffer rkey endianness
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 1 Dec 2015 18:18:47 +0000 (10:18 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 7 Dec 2015 22:20:11 +0000 (17:20 -0500)
commita745f4f410082fedc17be75e10e4098f300943db
treeb35518fe312ea2c8f9825880a66b7d9ccd98d713
parentfc925518aa04ee9f03c4e0cadd9c59f1ef48bcfa
IB/srp: Fix indirect data buffer rkey endianness

Detected by sparse.

Fixes: commit 330179f2fa93 ("IB/srp: Register the indirect data buffer descriptor")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: stable <stable@vger.kernel.org> # v4.3+
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c