linux_dsm_epyc7002/drivers/net/ethernet/intel/iavf
Mitch Williams 168d91cf2a iavf: use signed variable
The counter variable in iavf_clean_tx_irq starts out negative and climbs
to 0. So allocating it as u16 is actually a really bad idea that just
happens to work because the value underflows and overflows consistently
on most architectures.

Replace the u16 with an int so signed math works as expected.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-06-17 15:39:25 -07:00
..
iavf_adminq_cmd.h iavf: replace i40e variables with iavf 2019-05-31 01:02:53 -07:00
iavf_adminq.c iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_adminq.h iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_alloc.h iavf: change iavf_status_code to iavf_status 2019-05-31 00:19:33 -07:00
iavf_client.c iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_client.h iavf: rename iavf_client.h defines to match driver name 2019-05-31 01:03:13 -07:00
iavf_common.c iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_devids.h
iavf_ethtool.c iavf: replace i40e variables with iavf 2019-05-31 01:02:53 -07:00
iavf_main.c iavf: Create VLAN tag elements starting from the first element 2019-06-17 15:39:25 -07:00
iavf_osdep.h iavf: change iavf_status_code to iavf_status 2019-05-31 00:19:33 -07:00
iavf_prototype.h iavf: replace i40e variables with iavf 2019-05-31 01:02:53 -07:00
iavf_register.h
iavf_status.h iavf: rename iavf_status structure flags 2019-05-31 01:03:04 -07:00
iavf_trace.h iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_txrx.c iavf: use signed variable 2019-06-17 15:39:25 -07:00
iavf_txrx.h
iavf_type.h iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_virtchnl.c iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf.h iavf: rename i40e_device to iavf_device 2019-05-31 01:03:21 -07:00
Makefile iavf: Rename i40e_adminq* files to iavf_adminq* 2019-05-31 00:15:53 -07:00