]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit988aef9e8b0dd46b55ad08b1522429739e26122d
treeedf46d319186217c17cec020953a34d4196f8a43
parentdd08a8d9a66de4b54575c294a92630299f7e0fe7
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