commit: 39b1a8728dea30b2ae0414864783cb7864f8cb45 Author: Arisu Tachibana <alicef <AT> gentoo <DOT> org> AuthorDate: Tue Feb 17 00:38:22 2026 +0000 Commit: Arisu Tachibana <alicef <AT> gentoo <DOT> org> CommitDate: Tue Feb 17 00:38:22 2026 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=39b1a872
Linux patch 6.12.73 Signed-off-by: Arisu Tachibana <alicef <AT> gentoo.org> 0000_README | 4 ++++ 1072_linux-6.12.73.patch | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/0000_README b/0000_README index cead601f..dc407cdd 100644 --- a/0000_README +++ b/0000_README @@ -331,6 +331,10 @@ Patch: 1071_linux-6.12.72.patch From: https://www.kernel.org Desc: Linux 6.12.72 +Patch: 1072_linux-6.12.73.patch +From: https://www.kernel.org +Desc: Linux 6.12.73 + Patch: 1500_fortify-copy-size-value-range-tracking-fix.patch From: https://git.kernel.org/ Desc: fortify: Hide run-time copy size from value range tracking diff --git a/1072_linux-6.12.73.patch b/1072_linux-6.12.73.patch new file mode 100644 index 00000000..28e5d21a --- /dev/null +++ b/1072_linux-6.12.73.patch @@ -0,0 +1,62 @@ +diff --git a/Makefile b/Makefile +index 8af8b413c0541b..39a05470fbce55 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 6 + PATCHLEVEL = 12 +-SUBLEVEL = 72 ++SUBLEVEL = 73 + EXTRAVERSION = + NAME = Baby Opossum Posse + +diff --git a/drivers/base/base.h b/drivers/base/base.h +index 8e1fe3dfa31862..c4ffd099504337 100644 +--- a/drivers/base/base.h ++++ b/drivers/base/base.h +@@ -165,18 +165,9 @@ void device_set_deferred_probe_reason(const struct device *dev, struct va_format + static inline int driver_match_device(const struct device_driver *drv, + struct device *dev) + { +- device_lock_assert(dev); +- + return drv->bus->match ? drv->bus->match(dev, drv) : 1; + } + +-static inline int driver_match_device_locked(const struct device_driver *drv, +- struct device *dev) +-{ +- guard(device)(dev); +- return driver_match_device(drv, dev); +-} +- + static inline void dev_sync_state(struct device *dev) + { + if (dev->bus->sync_state) +diff --git a/drivers/base/bus.c b/drivers/base/bus.c +index 82a7bc5b4dfb75..eaf38a6f6091c2 100644 +--- a/drivers/base/bus.c ++++ b/drivers/base/bus.c +@@ -263,7 +263,7 @@ static ssize_t bind_store(struct device_driver *drv, const char *buf, + int err = -ENODEV; + + dev = bus_find_device_by_name(bus, NULL, buf); +- if (dev && driver_match_device_locked(drv, dev)) { ++ if (dev && driver_match_device(drv, dev)) { + err = device_driver_attach(drv, dev); + if (!err) { + /* success */ +diff --git a/drivers/base/dd.c b/drivers/base/dd.c +index 0952c864b78bd2..b526e0e0f52d79 100644 +--- a/drivers/base/dd.c ++++ b/drivers/base/dd.c +@@ -1168,7 +1168,7 @@ static int __driver_attach(struct device *dev, void *data) + * is an error. + */ + +- ret = driver_match_device_locked(drv, dev); ++ ret = driver_match_device(drv, dev); + if (ret == 0) { + /* no match */ + return 0;
