]> git.baikalelectronics.ru Git - kernel.git/commit
i40e, xsk: uninitialized variable in i40e_clean_rx_irq_zc()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Sep 2020 14:32:28 +0000 (17:32 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 10 Nov 2020 23:03:14 +0000 (15:03 -0800)
commitd72dc6d7cca861471de931ccdb6dbb1ccb33f804
treeb42984195224980865be1ab756eb8a56ce8de23f
parent417e2a3a0046146935e8112c025207b8e17198dc
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: 61322ec7f77b ("i40e, xsk: move buffer allocation out of the Rx processing loop")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_xsk.c