commit | e7e7030f0ae29cdc70ed845144f1cabd509e29d5 | [log] [tgz] |
---|---|---|
author | Su Hui <[email protected]> | Thu Mar 28 10:06:21 2024 +0800 |
committer | Greg Kroah-Hartman <[email protected]> | Wed Apr 10 16:28:28 2024 +0200 |
tree | 9989cfcf31e5e3b803976ead8bb7ec3313c10354 | |
parent | 39efe5b6f6114247ea72fa8c1ed2faaead784cfe [diff] |
octeontx2-pf: check negative error code in otx2_open() commit e709acbd84fb6ef32736331b0147f027a3ef4c20 upstream. 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 <[email protected]> Reviewed-by: Subbaraya Sundeep <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>