public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Saravana Kannan" <saravanak@kernel.org>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	<driver-core@lists.linux.dev>, <rust-for-linux@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [GIT PULL] Driver core fixes for 7.0-rc5
Date: Sat, 21 Mar 2026 23:46:06 +0100	[thread overview]
Message-ID: <DH8TPX1KOFV0.1DHVOFVS0T87U@kernel.org> (raw)

Hi Linus,

Please pull these driver-core fixes.

All commits have been in linux-next for a couple rounds; no conflicts expected.

(I will send out fixes for the remaining busses subsequently, so they can reach
you through the corresponding subsystem trees -- treewide commit [1] for
reference.)

- Danilo

[1] https://git.kernel.org/pub/scm/linux/kernel/git/dakr/linux.git/commit/?h=driver_override&id=7144511c6614967b4c16b716a9674b12c4e7f2b9

The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:

  Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git tags/driver-core-7.0-rc5

for you to fetch changes up to 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d:

  driver core: platform: use generic driver_override infrastructure (2026-03-17 20:30:57 +0100)

----------------------------------------------------------------
Driver core fixes for 7.0-rc5

- Generalize driver_override in the driver core, providing a common
  sysfs implementation and concurrency-safe accessors for bus
  implementations

- Do not use driver_override as IRQ name in the hwmon axi-fan driver

- Remove an unnecessary driver_override check in sh platform_early

- Migrate the platform bus to use the generic driver_override
  infrastructure, fixing a UAF condition caused by accessing the
  driver_override field without proper locking in the platform_match()
  callback

----------------------------------------------------------------
Danilo Krummrich (5):
      driver core: generalize driver_override in struct device
      docs: driver-model: document driver_override
      hwmon: axi-fan: don't use driver_override as IRQ name
      sh: platform_early: remove pdev->driver_override check
      driver core: platform: use generic driver_override infrastructure

 Documentation/driver-api/driver-model/binding.rst | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 arch/sh/drivers/platform_early.c                  |  4 ----
 drivers/base/bus.c                                | 43 ++++++++++++++++++++++++++++++++++++++++++-
 drivers/base/core.c                               |  2 ++
 drivers/base/dd.c                                 | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/base/platform.c                           | 37 +++++--------------------------------
 drivers/bus/simple-pm-bus.c                       |  4 ++--
 drivers/clk/imx/clk-scu.c                         |  3 +--
 drivers/hwmon/axi-fan-control.c                   |  2 +-
 drivers/slimbus/qcom-ngd-ctrl.c                   |  6 ++----
 include/linux/device.h                            | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/device/bus.h                        |  4 ++++
 include/linux/platform_device.h                   |  5 -----
 sound/soc/samsung/i2s.c                           |  6 +++---
 14 files changed, 224 insertions(+), 54 deletions(-)

             reply	other threads:[~2026-03-21 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-21 22:46 Danilo Krummrich [this message]
2026-03-22  0:08 ` [GIT PULL] Driver core fixes for 7.0-rc5 Linus Torvalds
2026-03-22 12:30   ` Danilo Krummrich
2026-03-22 18:04 ` pr-tracker-bot

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=DH8TPX1KOFV0.1DHVOFVS0T87U@kernel.org \
    --to=dakr@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=saravanak@kernel.org \
    --cc=torvalds@linux-foundation.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