]> 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)
commit4b711c42798a26e8bf43261f397ebb526400b2a2
treeb42984195224980865be1ab756eb8a56ce8de23f
parentc8d26bb01f9d31f56231de0b5a8fdbdfa12eacbc
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: f27387e61f95 ("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