: hwmon: powr1220: Fix warning found by kernel test robot
Add missing break in case statement.
Fixes 19d8ebde2889 ("hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure")
Reported-by kernel test robot <[email protected]>
Signed-off-by Michael Shych <[email protected]>
--- drivers/hwmon/powr1220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/powr1220.c +1 -1
@@ -189,7 +189,7 @@ powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32default :break ; } - +break ;default :break ; }
Signature · 1 line
2.14.1
Guenter Roeck
maintainerQuoted 5 lines · Michael Shych
Add missing break in case statement.
Fixes 19d8ebde2889 ("hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure")Reported-by kernel test robot <[email protected]>Signed-off-by Michael Shych <[email protected]>
Squashed into the patch introducing the problem.
Thanks,
Guenter
Quoted 17 lines
--- drivers/hwmon/powr1220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/powr1220.c +1
-1@@ -189,7 +189,7 @@ powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32default :break ; } - +break ;default :break ; }