On Thu, Mar 12, 2026 at 06:19:26PM -0400, Soumyadeep Hore wrote:
> Ignore ENOENT from firmware without rewriting the return value.
> 
> The previous code assigned I40E_SUCCESS to ret in the ENOENT case,
> but that value was never consumed before the next iteration or the
> function return path.
> 
> Replace the positive ENOENT branch with a negative check so the
> control flow stays the same without the unused assignment.
> 
> Coverity issue: 501831
> 
> Signed-off-by: Soumyadeep Hore <[email protected]>
> ---
>  drivers/net/intel/i40e/i40e_ethdev.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
Duplicate of patch [1].

/Bruce

[1] 
https://patches.dpdk.org/project/dpdk/patch/[email protected]/

Reply via email to