aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-09-15 13:35:25 +0300
committerDoug Ledford <[email protected]>2015-09-18 11:28:47 -0400
commite1df0068a24ba56673183cc3bd392d8bc301d423 (patch)
treee607044c89eee498d0718100f2b3dc528299f9aa /tools/perf/scripts/python/export-to-postgresql.py
parentaadfc3b2042d69a6b4b8d719d4221b988d7f31a5 (diff)
IB/hfi1: fix copy_to/from_user() error handling
copy_to/from_user() returns the number of bytes which we were not able to copy. It doesn't return an error code. Also a couple places had a printk() on error and I removed that because people can take advantage of it to fill /var/log/messages with spam. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Mike Marciniszyn <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions