Re: : hwmon: powr1220: Fix warning found by kernel test robot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 24, 2022 at 05:26:24PM +0200, Michael Shych wrote:
> Add missing break in case statement.
> 
> Fixes: 19d8ebde2889 ("hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Michael Shych <michaelsh@xxxxxxxxxx>

Squashed into the patch introducing the problem.

Thanks,
Guenter

> ---
>  drivers/hwmon/powr1220.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/powr1220.c b/drivers/hwmon/powr1220.c
> index 6fa4ddbc1a41..f77dc6db31ac 100644
> --- a/drivers/hwmon/powr1220.c
> +++ b/drivers/hwmon/powr1220.c
> @@ -189,7 +189,7 @@ powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32
>  		default:
>  			break;
>  		}
> -
> +		break;
>  	default:
>  		break;
>  	}



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux