RE: [EXTERNAL] [PATCH 1/2] octeontx2-pf: check negative error code in otx2_open()

From: Subbaraya Sundeep Bhatta
Date: Mon Mar 25 2024 - 11:22:17 EST




>-----Original Message-----
>From: Su Hui <suhui@xxxxxxxxxxxx>
>Sent: Monday, March 25, 2024 1:06 PM
>To: Sunil Kovvuri Goutham <sgoutham@xxxxxxxxxxx>; Geethasowjanya Akula
><gakula@xxxxxxxxxxx>; Subbaraya Sundeep Bhatta <sbhatta@xxxxxxxxxxx>;
>Hariprasad Kelam <hkelam@xxxxxxxxxxx>; davem@xxxxxxxxxxxxx;
>edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx; pabeni@xxxxxxxxxx
>Cc: Su Hui <suhui@xxxxxxxxxxxx>; Sai Krishna Gajula
><saikrishnag@xxxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; linux-
>kernel@xxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx
>Subject: [PATCH 1/2] 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@xxxxxxxxxxxx>

Reviewed-by: Subbaraya Sundeep <sbhatta@xxxxxxxxxxx>