summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-07 23:27:06 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-06-24 04:32:34 +0300
commit5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb (patch)
treef28c240ade7c7c6bc59aa862d670684c93080988 /tools/perf/scripts/python/syscall-counts.py
parentb9bb92e1d1be921e91d8b469dc1261ea5ac71991 (diff)
downloadlinux-5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb.tar.xz
hwmon: (pwm-fan) Check return value from devm_add_action_or_reset
devm_add_action_or_reset() can fail due to a memory allocation failure. Check for it and return the error if that happens. Fixes: 37bcec5d9f71 ("hwmon: (pwm-fan) Use devm_thermal_of_cooling_device_register") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions