linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Neerav Parikh 71f6a85a58 i40e: Fix static checker warning
This patch fixes the following static checker warning:

  drivers/net/ethernet/intel/i40e/i40e_dcb.c:342
  i40e_lldp_to_dcb_config() warn: 'tlv' can't be NULL.

Exit criteria from the while loop is encountering LLDP END
LV or if the TLV length goes beyond the buffer length.

Change-ID: I7548b16db90230ec2ba0fa791b0343ca8b7dd5bb
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Neerav Parikh <Neerav.Parikh@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Tested-By: Jack Morgan<jack.morgan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-06 18:41:50 -08:00
..
i40e_adminq_cmd.h i40e: updates to AdminQ interface 2014-01-16 17:20:51 -08:00
i40e_adminq.c i40evf: clean up memsets 2014-02-13 17:27:28 -05:00
i40e_adminq.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: i40e implementation for skb_set_hash 2014-03-06 18:41:31 -08:00
i40e_dcb_nl.c i40e: add DCB and DCBNL support 2014-01-17 19:13:04 -08:00
i40e_dcb.c i40e: Fix static checker warning 2014-03-06 18:41:50 -08:00
i40e_dcb.h i40e: implement DCB support infastructure 2014-01-17 19:13:04 -08:00
i40e_debugfs.c i40e: Flow Director sideband accounting 2014-03-06 17:54:04 -08:00
i40e_diag.c i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: count timeout events 2014-03-06 18:41:42 -08:00
i40e_hmc.c i40e: use assignment instead of memcpy 2014-01-10 16:30:31 -08:00
i40e_hmc.h i40e: Cleanup Doxygen warnings 2014-01-10 16:30:33 -08:00
i40e_lan_hmc.c i40e: trivial cleanup 2014-01-14 18:56:00 -08:00
i40e_lan_hmc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_main.c i40e: Remove a redundant filter addition 2014-03-06 18:41:45 -08:00
i40e_nvm.c i40e: clean up comment style 2014-03-06 18:41:36 -08:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e/i40evf: i40e implementation for skb_set_hash 2014-03-06 18:41:31 -08:00
i40e_ptp.c i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_register.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e/i40evf: i40e implementation for skb_set_hash 2014-03-06 18:41:31 -08:00
i40e_txrx.h i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_type.h i40e: Fix device ID define names to align to standard 2014-01-17 19:13:04 -08:00
i40e_virtchnl_pf.c i40e: Prevent overflow due to kzalloc 2014-03-06 18:41:22 -08:00
i40e_virtchnl_pf.h i40e: enable extant VFs 2014-02-13 17:27:29 -05:00
i40e_virtchnl.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e.h i40e: Flow Director sideband accounting 2014-03-06 17:54:04 -08:00
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00