mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
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>
This commit is contained in:
parent
dd08a8d9a6
commit
988aef9e8b
@ -627,7 +627,7 @@ static int nvme_tcp_recv_pdu(struct nvme_tcp_queue *queue, struct sk_buff *skb,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline void nvme_tcp_end_request(struct request *rq, __le16 status)
|
||||
static inline void nvme_tcp_end_request(struct request *rq, u16 status)
|
||||
{
|
||||
union nvme_result res = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user