diff options
| author | 2019-06-07 13:27:06 -0700 | |
|---|---|---|
| committer | 2019-06-23 18:32:34 -0700 | |
| commit | 5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb (patch) | |
| tree | f28c240ade7c7c6bc59aa862d670684c93080988 /tools/perf/scripts/python/stackcollapse.py | |
| parent | hwmon: (gpio-fan) Check return value from devm_add_action_or_reset (diff) | |
| download | linux-dev-5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb.tar.xz linux-dev-5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb.zip | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
