[Intel-wired-lan] [PATCH] i40e, xsk: uninitialized variable in i40e_clean_rx_irq_zc()

Kuruvinakunnel, George george.kuruvinakunnel at intel.com
Tue Oct 13 10:26:52 UTC 2020


-----Original Message-----
From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Dan Carpenter
Sent: Wednesday, September 16, 2020 8:02 PM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
Cc: intel-wired-lan at lists.osuosl.org; kernel-janitors at vger.kernel.org; Topel, Bjorn <bjorn.topel at intel.com>
Subject: [Intel-wired-lan] [PATCH] i40e, xsk: uninitialized variable in i40e_clean_rx_irq_zc()



The "failure" variable is used without being initialized.  It should be set to false.



Fixes: 8cbf74149903 ("i40e, xsk: move buffer allocation out of the Rx processing loop")

Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com<mailto:dan.carpenter at oracle.com>>

---

drivers/net/ethernet/intel/i40e/i40e_xsk.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)



Tested-by: George Kuruvinakunnel <george.kuruvinakunnel at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20201013/ee128d11/attachment.html>


More information about the Intel-wired-lan mailing list