summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igb/e1000_i210.c
diff options
context:
space:
mode:
authorjoshua.a.hay@intel.com <joshua.a.hay@intel.com>2012-11-28 05:49:20 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-12-01 10:29:19 (GMT)
commit3288d735781f8873775e5d2e5d33507119f79cca (patch)
tree39ace5c2974a14195aec3d55caa9619a68071aee /drivers/net/ethernet/intel/igb/e1000_i210.c
parent1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2 (diff)
downloadlinux-3288d735781f8873775e5d2e5d33507119f79cca.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_i210.c')
0 files changed, 0 insertions, 0 deletions