commit | af78fdf4a61827bed7f0fcbba8cc9ae393a3ad82 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Sep 13 10:31:38 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 13 16:16:26 2013 -0700 |
tree | f3a5e81d9e3b1d1ca063184d79209d5d51d0ac37 | |
parent | ae02e7418ffa2ba5d927869ef9eab4c87549d8e9 [diff] |
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: Guenter Roeck <linux@roeck-us.net>