Message ID | 20210215161139.83432-1-colin.king@canonical.com |
---|---|
State | New |
Headers | show |
Series | [next] i40e: Fix uninitialized variable mfs_max | expand |
diff --git a/drivers/net/ethernet/intel/i40e/i40e_dcb.c b/drivers/net/ethernet/intel/i40e/i40e_dcb.c index 7b73a279d46e..243b0d2b7b72 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_dcb.c +++ b/drivers/net/ethernet/intel/i40e/i40e_dcb.c @@ -1636,7 +1636,7 @@ void i40e_dcb_hw_calculate_pool_sizes(struct i40e_hw *hw, u32 total_pool_size = 0; int shared_pool_size; /* Need signed variable */ u32 port_pb_size; - u32 mfs_max; + u32 mfs_max = 0; u32 pcirtt; u8 i;