Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform/x86: intel_pmc_core: Respect error code of kstrtou32_from_us…
…er() 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>
- Loading branch information