Re: [PATCH 3/4] ABI: sysfs-class-hwmon: fix tempY_crit_alarm access rights

From: Guenter Roeck
Date: Sat Nov 18 2023 - 12:47:14 EST


On Fri, Nov 17, 2023 at 07:40:36AM +0100, Javier Carrasco wrote:
> This attribute is defined as read-only by all drivers that support it.
>
> It seems that the access rights and description for this attribute were
> copied from the intrusionY_alarm, which has indeed RW rights and must be
> cleared by the user.
>
> These are the modules that currently use this attribute:
> - adt7x10
> - i5500_temp
> - jc42
> - lm83
> - lm90
> - lm95245
> - max31760
> - max6621
> - mc34vr500
> - tmp401
> - tmp464
> - tmp513
>
> Fix the attribute description and make it read-only.
>
> Fixes: 365b5d63a505 ("ABI: sysfs-class-hwmon: add a description for tempY_crit_alarm")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>

Applied.

Thanks,
Guenter