diff options
author | Tianjia Zhang <[email protected]> | 2020-08-02 19:15:45 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-08-21 17:14:27 -0600 |
commit | f34448cd0dc697723fb5f4118f8431d9233b370d (patch) | |
tree | 178623f713f1ee99c34ff1685cc5fddabf67556b /include/linux/fpga/fpga-mgr.h | |
parent | 0ceeab96ba598c578f0e87cb25b79349cd35b8f1 (diff) |
nvme-fc: Fix wrong return value in __nvme_fc_init_request()
On an error exit path, a negative error code should be returned
instead of a positive return value.
Fixes: e399441de9115 ("nvme-fabrics: Add host support for FC transport")
Cc: James Smart <[email protected]>
Signed-off-by: Tianjia Zhang <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions