Re: [PATCH] i40e: Fix use of uninitialized variable

From: Nguyen, Anthony L
Date: Thu Sep 17 2020 - 17:20:45 EST


On Wed, 2020-09-16 at 21:49 +0100, Alex Dewar wrote:
> In i40e_clean_rx_irq_zc(), the variable failure is only set when a
> condition is met, but then its value is used unconditionally. Fix
> this.
>
> Addresses-Coverity: 1496986 ("Uninitialized value")
> Fixes: 8cbf74149903 ("i40e, xsk: move buffer allocation out of the Rx
> processing loop")
> Signed-off-by: Alex Dewar <alex.dewar90@xxxxxxxxx>

Thanks for the patch Alex, however, Dan Carpenter has already submitted
a patch for the same reported issue:
https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200916143228.GA764370@mwanda/

Thanks,
Tony