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: <CAJZ5v0he_7jmpafGcSUDhtXcwSBi1RSP=AQYr9QBr4UNzdw+Gw@mail.gmail.com>
Date: Fri, 9 May 2025 15:42:51 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Zijun Hu <zijun_hu@...oud.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Pavel Machek <pavel@...nel.org>, Len Brown <len.brown@...el.com>, 
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Danilo Krummrich <dakr@...nel.org>, linux-pm@...r.kernel.org, 
	linux-kernel@...r.kernel.org, Zijun Hu <quic_zijuhu@...cinc.com>
Subject: Re: [PATCH] PM: wakeup: Add missing wakeup source attribute relax_count

On Mon, May 5, 2025 at 12:17 PM Zijun Hu <zijun_hu@...oud.com> wrote:
>
> From: Zijun Hu <quic_zijuhu@...cinc.com>
>
> There is wakeup source attribute 'active_count', but its counterpart
> attribute 'relax_count' is missing.
>
> Add missing 'relax_count' for integrality.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@...cinc.com>
> ---
>  drivers/base/power/wakeup_stats.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/base/power/wakeup_stats.c b/drivers/base/power/wakeup_stats.c
> index 6732ed2869f9f38a272faab0044b6eb3edc051f2..3ffd427248e8eebae3c05b5165bd4200a0668339 100644
> --- a/drivers/base/power/wakeup_stats.c
> +++ b/drivers/base/power/wakeup_stats.c
> @@ -34,6 +34,7 @@ wakeup_attr(active_count);
>  wakeup_attr(event_count);
>  wakeup_attr(wakeup_count);
>  wakeup_attr(expire_count);
> +wakeup_attr(relax_count);
>
>  static ssize_t active_time_ms_show(struct device *dev,
>                                    struct device_attribute *attr, char *buf)
> @@ -119,6 +120,7 @@ static struct attribute *wakeup_source_attrs[] = {
>         &dev_attr_event_count.attr,
>         &dev_attr_wakeup_count.attr,
>         &dev_attr_expire_count.attr,
> +       &dev_attr_relax_count.attr,
>         &dev_attr_active_time_ms.attr,
>         &dev_attr_total_time_ms.attr,
>         &dev_attr_max_time_ms.attr,
>
> ---

Applied as 6.16 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ