OpenCloudOS-Kernel/drivers/net/ethernet/intel
Colin Ian King f6724cd497 i40e: Fix uninitialized variable mfs_max
The variable mfs_max is not initialized and is being compared to find
the maximum value. Fix this by initializing it to 0.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 90bc8e003b ("i40e: Add hardware configuration for software based DCB")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-15 15:21:46 -08:00
..
e1000 e1000: drop unneeded assignment in e1000_set_itr() 2021-02-03 16:32:18 -08:00
e1000e e1000e: remove the redundant value assignment in e1000_update_nvm_checksum_spt 2021-02-03 16:32:18 -08:00
fm10k net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
i40e i40e: Fix uninitialized variable mfs_max 2021-02-15 15:21:46 -08:00
iavf net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
ice ice: store the result of ice_rx_offset() onto ice_ring 2021-02-12 10:36:57 -08:00
igb Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-02-04 21:26:28 -08:00
igbvf net: igbvf: use skb_csum_is_sctp instead of protocol check 2021-01-19 14:31:25 -08:00
igc Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-02-04 21:26:28 -08:00
ixgb intel: handle unused assignments 2020-09-25 16:28:59 -07:00
ixgbe ixgbe: store the result of ixgbe_rx_offset() onto ixgbe_ring 2021-02-12 10:40:03 -08:00
ixgbevf net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c e100: switch from 'pci_' to 'dma_' API 2021-01-28 18:31:18 -08:00