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)
commit1773482fd8cecd5b060d409853f8145be3064a41
treeb42984195224980865be1ab756eb8a56ce8de23f
parent3a7001788fed0311d6fb77ed0dabe7bed3567bc0
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@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