lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210112220849.2mreatjj4jktcj5p@earth.universe>
Date:   Tue, 12 Jan 2021 23:08:49 +0100
From:   Sebastian Reichel <sebastian.reichel@...labora.com>
To:     menglong8.dong@...il.com
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        Menglong Dong <dong.menglong@....com.cn>
Subject: Re: [PATCH] power: supply: remove duplicated argument in
 power_supply_hwmon_info

Hi,

On Mon, Jan 11, 2021 at 05:49:31PM -0800, menglong8.dong@...il.com wrote:
> From: Menglong Dong <dong.menglong@....com.cn>
> 
> 'HWMON_T_INPUT' and 'HWMON_T_MIN_ALARM' in power_supply_hwmon_info are
> duplicated and can be removed.
> 
> Signed-off-by: Menglong Dong <dong.menglong@....com.cn>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/power_supply_hwmon.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/power/supply/power_supply_hwmon.c b/drivers/power/supply/power_supply_hwmon.c
> index 7fe4b6b6ddc8..bffe6d84c429 100644
> --- a/drivers/power/supply/power_supply_hwmon.c
> +++ b/drivers/power/supply/power_supply_hwmon.c
> @@ -299,13 +299,11 @@ static const struct hwmon_channel_info *power_supply_hwmon_info[] = {
>  			   HWMON_T_INPUT     |
>  			   HWMON_T_MAX       |
>  			   HWMON_T_MIN       |
> -			   HWMON_T_MIN_ALARM |
>  			   HWMON_T_MIN_ALARM,
>  
>  			   HWMON_T_LABEL     |
>  			   HWMON_T_INPUT     |
>  			   HWMON_T_MIN_ALARM |
> -			   HWMON_T_LABEL     |
>  			   HWMON_T_MAX_ALARM),
>  
>  	HWMON_CHANNEL_INFO(curr,
> -- 
> 2.17.1
> 

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ