nvmet-fc: properly endian swap sq_head
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 08:43:13 +0000 (10:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:18:26 +0000 (09:18 +0200)
commit8ad76cf10012b625800a9764c5af08dbc0948ff7
tree5468ede68a159d4cc719b545ffaa588715867ca0
parentf63688a610958a410e9cab7b4d41b77a29912379
nvmet-fc: properly endian swap sq_head

Found by sparse.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/nvme/target/fc.c