Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit af78fdf4 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (pmbus) Don't unnecessarily crash the kernel



pmbus code currently crashes the kernel if it detects an internal
implementation error. While the detected condition suggests that there
is a bug in the code, it is hardly fatal. Therefore, it should not
trigger a crash. Replace BUG() with WARN().

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ae02e741
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment