diff options
| author | 2020-03-30 13:26:50 +0300 | |
|---|---|---|
| committer | 2020-03-30 13:26:50 +0300 | |
| commit | d878bdfba8ffda64265c921cf7497934a607f83a (patch) | |
| tree | befd94c3b5474376ad279dc8f1c37f7c4a4228e5 /drivers/platform/x86/intel-uncore-frequency.c | |
| parent | platform/x86: surface3_power: Fix Kconfig section ordering (diff) | |
| download | wireguard-linux-d878bdfba8ffda64265c921cf7497934a607f83a.tar.xz wireguard-linux-d878bdfba8ffda64265c921cf7497934a607f83a.zip | |
platform/x86: surface3_power: Fix always true condition in mshw0011_space_handler()
smatch warnings:
.../surface3_power.c:417 mshw0011_space_handler() warn: always true condition '(ret >= 0) => +(0-u32max >= 0)'
Refactor error handling returned by mshw0011_adp_psr() to avoid always
true condition.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel-uncore-frequency.c')
0 files changed, 0 insertions, 0 deletions
