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 | |
| parent | platform/x86: intel_telemetry_pltdrv: use devm_platform_ioremap_resource() (diff) | |
| download | linux-9592438886756ce7d1327e9ec998b8bc0c1541bc.tar.gz linux-9592438886756ce7d1327e9ec998b8bc0c1541bc.zip | |
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')
0 files changed, 0 insertions, 0 deletions
