android_kernel_motorola_sm6225/drivers/net/ethernet/intel
joshua.a.hay@intel.com 3288d73578 ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c
This patch replaces calls to copy_to_user, copy_from_user, and the associated
logic, with calls to simple_read_from_buffer and simple_write_to_buffer
respectively.  This was done to eliminate warnings generated by the Smatch
static analysis tool.

v2- Fix return values based community feedback

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
CC: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Josh Hay <joshua.a.hay@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-12-01 02:29:19 -08:00
..
e1000 e1000: fix concurrent accesses to PHY from watchdog and ethtool 2012-11-01 03:11:13 -07:00
e1000e e1000e: Minimum packet size must be 17 bytes 2012-10-23 01:02:19 -07:00
igb igb: Use a 32-bit mask when calculating the flow control watermarks 2012-11-28 04:13:39 -08:00
igbvf igbvf: update version number 2012-11-28 04:05:23 -08:00
ixgb netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgbe ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c 2012-12-01 02:29:19 -08:00
ixgbevf ixgbevf: Add checksum statistics counters to rings 2012-11-15 06:30:42 -08:00
e100.c netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile