diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-06-07 13:27:06 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-06-23 18:32:34 -0700 |
commit | 5696e4aaabf2a6bae0fe8b4abf17fe17c2b03beb (patch) | |
tree | f28c240ade7c7c6bc59aa862d670684c93080988 /.gitignore | |
parent | b9bb92e1d1be921e91d8b469dc1261ea5ac71991 (diff) |
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions