diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-03-30 13:26:50 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-03-30 13:26:50 +0300 |
commit | d878bdfba8ffda64265c921cf7497934a607f83a (patch) | |
tree | befd94c3b5474376ad279dc8f1c37f7c4a4228e5 /tools | |
parent | ba308bd09099d3997f7d95e928a3664f8b20e619 (diff) | |
download | linux-d878bdfba8ffda64265c921cf7497934a607f83a.tar.xz |
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 'tools')
0 files changed, 0 insertions, 0 deletions