Re: [PATCH net v2 1/2] octeontx2-pf: check negative error code in otx2_open()

From: Simon Horman
Date: Tue Mar 26 2024 - 10:19:33 EST


On Tue, Mar 26, 2024 at 02:12:34PM +0800, Su Hui wrote:
> 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@xxxxxxxxxxxx>
> Reviewed-by: Subbaraya Sundeep <sbhatta@xxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>