[Intel-wired-lan] [next PATCH S76-V2 01/13] i40e: Fix for unused value issue found by static analysis
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Jul 19 18:57:46 UTC 2017
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, July 14, 2017 6:10 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S76-V2 01/13] i40e: Fix for unused
> value issue found by static analysis
>
> From: Carolyn Wyborny <carolyn.wyborny at intel.com>
>
> This patch fixes an issue where an error return value is set, but without an
> immediate exit, the value can be overwritten by the following code
> execution. The condition at this point is not fatal, so remove the error
> assignment and comment the intent for future code maintainers
>
> Signed-off-by: Carolyn Wyborny <carolyn.wyborny at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list