All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: <rafael@kernel.org>, <driver-core@lists.linux.dev>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] sysfs: remove exports of sysfs_*change_owner()
Date: Thu, 05 Feb 2026 14:15:15 +0100	[thread overview]
Message-ID: <DG720VHFTHU8.1LCZHVE8KN2IW@kernel.org> (raw)
In-Reply-To: <2026020541-energize-graduate-981a@gregkh>

On Thu Feb 5, 2026 at 2:09 PM CET, Greg Kroah-Hartman wrote:
> Both sysfs_change_owner() and sysfs_file_change_owner() are exported to
> modules, but there are no in-kernel module users, so remove the exports
> so that crazy out-of-tree drivers don't get the impression that it is
> safe to call these functions at all.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Reviewed-by: Danilo Krummrich <dakr@kernel.org>

  parent reply	other threads:[~2026-02-05 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05 13:09 [PATCH 1/2] sysfs: remove exports of sysfs_*change_owner() Greg Kroah-Hartman
2026-02-05 13:09 ` [PATCH 2/2] driver core: remove device_change_owner() export Greg Kroah-Hartman
2026-02-05 13:15   ` Danilo Krummrich
2026-02-05 13:39   ` Rafael J. Wysocki
2026-02-05 13:15 ` Danilo Krummrich [this message]
2026-02-05 13:38 ` [PATCH 1/2] sysfs: remove exports of sysfs_*change_owner() Rafael J. Wysocki
2026-02-05 14:35 ` Lee Jones

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=DG720VHFTHU8.1LCZHVE8KN2IW@kernel.org \
    --to=dakr@kernel.org \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.