[GIT PULL] Driver core fixes for 7.0-rc5
From: Danilo Krummrich
Date: Sat Mar 21 2026 - 18:46:23 EST
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(-)