]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: fix an endianess miss-annotation
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Mar 2019 07:41:04 +0000 (08:41 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 28 Mar 2019 17:15:02 +0000 (18:15 +0100)
commit5872fc1d1804619aa6607b684c1be4641a568822
treeedf46d319186217c17cec020953a34d4196f8a43
parent39f113a0927d0a7d68c91d01c834058e6bf447a0
nvme-tcp: fix an endianess miss-annotation

nvme_tcp_end_request just takes the status value and the converts
it to little endian as well as shifting for the phase bit.

Fixes: 43ce38a6d823 ("nvme-tcp: support C2HData with SUCCESS flag")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/tcp.c