commit | 522af60cb2f8e3658bda1902fb7f200dcf888a5c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Jun 05 15:48:16 2021 +0300 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jun 16 05:36:16 2021 +0200 |
tree | eea2327698bc8b2af8b154fd5910ab028d01cd35 | |
parent | e7d4b5493a2d5a6225fc572e01167e12f89c6a42 [diff] |
nvme-tcp: fix error codes in nvme_tcp_setup_ctrl() These error paths currently return success but they should return -EOPNOTSUPP. Fixes: 73ffcefcfca0 ("nvme-tcp: check sgl supported by target") Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>