commit:     5d43034fad4513a91bb18ea592b15182534e3429
Author:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 00:38:01 2026 +0000
Commit:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 00:38:01 2026 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5d43034f

Linux patch 6.18.12

Signed-off-by: Arisu Tachibana <alicef <AT> gentoo.org>

 0000_README              |  4 ++++
 1011_linux-6.18.12.patch | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/0000_README b/0000_README
index 4acccc30..02cc257a 100644
--- a/0000_README
+++ b/0000_README
@@ -87,6 +87,10 @@ Patch:  1010_linux-6.18.11.patch
 From:   https://www.kernel.org
 Desc:   Linux 6.18.11
 
+Patch:  1011_linux-6.18.12.patch
+From:   https://www.kernel.org
+Desc:   Linux 6.18.12
+
 Patch:  1510_fs-enable-link-security-restrictions-by-default.patch
 From:   
http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/
 Desc:   Enable link security restrictions by default.

diff --git a/1011_linux-6.18.12.patch b/1011_linux-6.18.12.patch
new file mode 100644
index 00000000..14f5013b
--- /dev/null
+++ b/1011_linux-6.18.12.patch
@@ -0,0 +1,62 @@
+diff --git a/Makefile b/Makefile
+index 1d8d4b2c1da72b..09153bd3bc5d5e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ VERSION = 6
+ PATCHLEVEL = 18
+-SUBLEVEL = 11
++SUBLEVEL = 12
+ EXTRAVERSION =
+ NAME = Baby Opossum Posse
+ 
+diff --git a/drivers/base/base.h b/drivers/base/base.h
+index 30459906987e00..86fa7fbb354891 100644
+--- a/drivers/base/base.h
++++ b/drivers/base/base.h
+@@ -166,18 +166,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 999d371bbf3501..5e75e1bce5516d 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 b6b9132e1f94f0..13ab98e033eaa1 100644
+--- a/drivers/base/dd.c
++++ b/drivers/base/dd.c
+@@ -1170,7 +1170,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;

Reply via email to