diff options
author | 2012-11-28 05:49:20 +0000 | |
---|---|---|
committer | 2012-12-01 02:29:19 -0800 | |
commit | 3288d735781f8873775e5d2e5d33507119f79cca (patch) | |
tree | 39ace5c2974a14195aec3d55caa9619a68071aee /drivers/net/ethernet/intel/e1000e/param.c | |
parent | myri10ge: Add vlan rx for better GRO perf. (diff) | |
download | linux-dev-3288d735781f8873775e5d2e5d33507119f79cca.tar.xz linux-dev-3288d735781f8873775e5d2e5d33507119f79cca.zip |
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/e1000e/param.c')
0 files changed, 0 insertions, 0 deletions