diff options
| author | Andy Shevchenko <[email protected]> | 2020-03-30 10:26:50 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2020-03-30 10:26:50 +0000 |
| commit | d878bdfba8ffda64265c921cf7497934a607f83a (patch) | |
| tree | befd94c3b5474376ad279dc8f1c37f7c4a4228e5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | platform/x86: surface3_power: Fix Kconfig section ordering (diff) | |
| download | kernel-d878bdfba8ffda64265c921cf7497934a607f83a.tar.gz kernel-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 <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
