Home
last modified time | relevance | path

Searched hist:"6 ebab74e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Ddell-smm-hwmon.c6ebab74e Mon Aug 22 12:40:53 CDT 2022 Armin Wolf <W_Armin@gmx.de> hwmon: (dell-smm) Improve warning messages

When dell-smm-hwmon is loaded on a machine with a buggy BIOS
with the option "force" being enabled, it wrongly prints
that the buggy features where disabled. This may cause
users to wrongly assume that the driver still protects them
from these BIOS bugs even with "force" being enabled.

Replace the messages with two messages each which are depending
on the value of the "force" parameter. The messages which are
being printed when "force" is not set use dev_notice() instead
of dev_warn() since they only serve as a notice.

Tested on a Dell Inspiron 3505.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220822174053.8750-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>