diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-15 17:56:19 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2020-09-16 10:42:15 -0700 |
commit | c277e1f0dc3c7d7b5b028e20dd414df241642036 (patch) | |
tree | 98f557f8448cb870efda6eea7dbfccbdd092027c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4738dd1992fa13acfbbd71800c71c612f466fa44 (diff) |
Input: twl4030_keypad - fix handling of platform_get_irq() error
platform_get_irq() returns -ERRNO on error. In such case casting to
unsigned and comparing to 0 would pass the check.
Fixes: 7abf38d6d13c ("Input: twl4030-keypad - add device tree support")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions