public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	<driver-core@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	<stable@vger.kernel.org>, "Michael Kelley" <mhklinux@outlook.com>
Subject: Re: [PATCH] sysfs: attribute_group: Respect is_visible_const() when changing owner
Date: Thu, 09 Apr 2026 00:17:02 +0200	[thread overview]
Message-ID: <DHO4DGWHA4YN.6GO7VVFS7CXU@kernel.org> (raw)
In-Reply-To: <20260403-sysfs-is_visible_const-fix-v1-1-f87f26071d2c@weissschuh.net>

On Fri Apr 3, 2026 at 6:31 PM CEST, Thomas Weißschuh wrote:
> The call to grp->is_visible in sysfs_group_attrs_change_owner() was
> missed when support for is_visible_const() was added.
>
> Check for both is_visible variants there too.
>
> Fixes: 7dd9fdb4939b ("sysfs: attribute_group: enable const variants of is_visible()")
> Cc: stable@vger.kernel.org
> Reported-by: Michael Kelley <mhklinux@outlook.com>
> Closes: https://lore.kernel.org/lkml/SN6PR02MB4157D5F04608E4E3C21AB56ED45EA@SN6PR02MB4157.namprd02.prod.outlook.com/
> Link: https://sashiko.dev/#/patchset/20260403-sysfs-const-hv-v2-0-8932ab8d41db%40weissschuh.net
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

Applied to driver-core-testing, thanks!

      parent reply	other threads:[~2026-04-08 22:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 16:31 [PATCH] sysfs: attribute_group: Respect is_visible_const() when changing owner Thomas Weißschuh
2026-04-03 17:52 ` Michael Kelley
2026-04-08 22:17 ` Danilo Krummrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DHO4DGWHA4YN.6GO7VVFS7CXU@kernel.org \
    --to=dakr@kernel.org \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=mhklinux@outlook.com \
    --cc=rafael@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox