diff options
| author | [email protected] <[email protected]> | 2012-11-28 05:49:20 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2012-12-01 02:29:19 -0800 |
| commit | 3288d735781f8873775e5d2e5d33507119f79cca (patch) | |
| tree | 39ace5c2974a14195aec3d55caa9619a68071aee /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2 (diff) | |
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 <[email protected]>
CC: Dan Carpenter <[email protected]>
Signed-off-by: Josh Hay <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions