]> 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)
commit7b024c2de68593834a3a3f323afd0b6e9c2604d9
treeedf46d319186217c17cec020953a34d4196f8a43
parent3ff6ab11b4a44a566b002a66403f91684fe0b5f6
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