mlxsw: core: Change BUG to WARN in hwmon code
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Dec 2015 09:12:03 +0000 (10:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:26:39 +0000 (15:26 -0500)
commit6b20da4d8f3f6a3be9f67e3207f435cfaa5f7f97
treedad2ba94379ff709f5357f5b6be319d6ed086e4d
parentead87637a9e47f6ce17e4bc9e4c99472f10d72b2
mlxsw: core: Change BUG to WARN in hwmon code

Better to just warn the user that something really odd is going on and
continue to run.

Suggested-by: Or Gerlitz <gerlitz.or@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c