commit:     5899293f0b4c4e6009c8eb41d6d6d79b0a5fcfbc
Author:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  6 15:21:40 2026 +0000
Commit:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
CommitDate: Fri Mar  6 15:21:40 2026 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5899293f

Linux patch 6.1.166

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

 0000_README              |  4 ++++
 1165_linux-6.1.166.patch | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/0000_README b/0000_README
index 4c3d5ac5..dd74e174 100644
--- a/0000_README
+++ b/0000_README
@@ -703,6 +703,10 @@ Patch:  1164_linux-6.1.165.patch
 From:   https://www.kernel.org
 Desc:   Linux 6.1.165
 
+Patch:  1165_linux-6.1.166.patch
+From:   https://www.kernel.org
+Desc:   Linux 6.1.166
+
 Patch:  1500_XATTR_USER_PREFIX.patch
 From:   https://bugs.gentoo.org/show_bug.cgi?id=470644
 Desc:   Support for namespace user.pax.* on tmpfs.

diff --git a/1165_linux-6.1.166.patch b/1165_linux-6.1.166.patch
new file mode 100644
index 00000000..cf7752c0
--- /dev/null
+++ b/1165_linux-6.1.166.patch
@@ -0,0 +1,33 @@
+diff --git a/Makefile b/Makefile
+index ab1cb6f2e6ee23..5c06e9d3dfd376 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ VERSION = 6
+ PATCHLEVEL = 1
+-SUBLEVEL = 165
++SUBLEVEL = 166
+ EXTRAVERSION =
+ NAME = Curry Ramen
+ 
+diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
+index 38f48875df91a1..18a034613d94d6 100644
+--- a/arch/x86/kernel/setup.c
++++ b/arch/x86/kernel/setup.c
+@@ -377,15 +377,9 @@ int __init ima_free_kexec_buffer(void)
+ 
+ int __init ima_get_kexec_buffer(void **addr, size_t *size)
+ {
+-      int ret;
+-
+       if (!ima_kexec_buffer_size)
+               return -ENOENT;
+ 
+-      ret = ima_validate_range(ima_kexec_buffer_phys, ima_kexec_buffer_size);
+-      if (ret)
+-              return ret;
+-
+       *addr = __va(ima_kexec_buffer_phys);
+       *size = ima_kexec_buffer_size;
+ 

Reply via email to