linux/drivers/net/ethernet/intel
Gustavo A R Silva c30bf8cece i40e/virtchnl: fix application of sizeof to pointer
sizeof when applied to a pointer typed expression gives the size of
the pointer.

The proper fix in this particular case is to code sizeof(*vfres)
instead of sizeof(vfres).

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A R Silva <garsilva@embeddedor.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-11-27 13:50:35 -08:00
..
e1000 e1000: avoid null pointer dereference on invalid stat type 2017-10-26 07:42:57 -07:00
e1000e ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
fm10k fm10k: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:48:39 -08:00
i40e i40e/virtchnl: fix application of sizeof to pointer 2017-11-27 13:50:35 -08:00
i40evf i40evf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:52:38 -08:00
igb igb: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:47:24 -08:00
igbvf igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:46:04 -08:00
ixgb ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
ixgbe ixgbe: Fix skb list corruption on Power systems 2017-11-21 23:42:03 -08:00
ixgbevf ixgbevf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:44:53 -08:00
e100.c ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
Kconfig i40evf: Add support for Adaptive Virtual Function 2017-06-01 14:30:02 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00