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: <20170317134354.GA16340@roeck-us.net>
Date:   Fri, 17 Mar 2017 06:43:54 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Peter Huewe <peterhuewe@....de>
Cc:     Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: Add missing HWMON_T_ALARM

On Fri, Mar 17, 2017 at 12:28:56AM +0100, Peter Huewe wrote:
> Unfortunately the HWMON_T_ALARM define was missing,
> although the associated entry was present in hwmon_temp_attributes.
> This is needed to convert drivers to the new interface which use channel
> based alarms.
> 
Good catch. Applied.

Thanks,
Guenter

> Signed-off-by: Peter Huewe <peterhuewe@....de>
> ---
>  include/linux/hwmon.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h
> index 78d59dba563e..88b673749121 100644
> --- a/include/linux/hwmon.h
> +++ b/include/linux/hwmon.h
> @@ -88,6 +88,7 @@ enum hwmon_temp_attributes {
>  #define HWMON_T_CRIT_HYST	BIT(hwmon_temp_crit_hyst)
>  #define HWMON_T_EMERGENCY	BIT(hwmon_temp_emergency)
>  #define HWMON_T_EMERGENCY_HYST	BIT(hwmon_temp_emergency_hyst)
> +#define HWMON_T_ALARM		BIT(hwmon_temp_alarm)
>  #define HWMON_T_MIN_ALARM	BIT(hwmon_temp_min_alarm)
>  #define HWMON_T_MAX_ALARM	BIT(hwmon_temp_max_alarm)
>  #define HWMON_T_CRIT_ALARM	BIT(hwmon_temp_crit_alarm)
> -- 
> 2.7.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ