diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-12-18 20:42:29 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-01-10 11:50:32 +0200 |
commit | 9592438886756ce7d1327e9ec998b8bc0c1541bc (patch) | |
tree | 772e5dce06e1510c98844ab324a59b506a1dd92a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e883cafd8de012edc979935610b04204c4c2a742 (diff) |
platform/x86: intel_pmc_core: Respect error code of kstrtou32_from_user()
kstrtou32_from_user() may return different error codes on certain
circumstances. Respect all possible values.
While here, move it out of the lock: there is no data access that lock guards.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions