diff options
author | Su Hui <suhui@nfschina.com> | 2024-03-28 10:06:21 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-29 12:37:35 -0700 |
commit | e709acbd84fb6ef32736331b0147f027a3ef4c20 (patch) | |
tree | 8aa3950d9f1273aeb164fb851fcad7c8f6837312 /drivers/pci/Makefile | |
parent | 5086f0fe46dcf8687c8c2e41e1f07826affebbba (diff) | |
download | lwn-e709acbd84fb6ef32736331b0147f027a3ef4c20.tar.gz lwn-e709acbd84fb6ef32736331b0147f027a3ef4c20.zip |
octeontx2-pf: check negative error code in otx2_open()
otx2_rxtx_enable() return negative error code such as -EIO,
check -EIO rather than EIO to fix this problem.
Fixes: c926252205c4 ("octeontx2-pf: Disable packet I/O for graceful exit")
Signed-off-by: Su Hui <suhui@nfschina.com>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20240328020620.4054692-1-suhui@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/pci/Makefile')
0 files changed, 0 insertions, 0 deletions