Skip to content
Commit 83840e4b authored by John W Linville's avatar John W Linville Committed by Jeff Kirsher
Browse files

i40e: avoid use of uninitialized v_budget in i40e_init_msix



This I40E_FCOE block increments v_budget before it has been initialized,
then v_budget gets overwritten a few lines later.  This patch just
reorders the code hunks in what I believe was the intended sequence.

Coverity: CID 12600999

Signed-off-by: default avatarJohn W Linville <linville@tuxdriver.com>
Tested-by: default avatarJim Young <james.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent cf86da48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment