kernel-selftest: Delete patch not needed with latest 7.2 kernel
PATCH 1/2 kernel-selftest: Delete patch not needed with latest 7.2 kernel
Signed-off-by Khem Raj <[email protected]>
--- .../kernel-selftest/kernel-selftest.bb | 1 - ...s-proc-include-fcntl.h-in-proc-pidns.patch | 40 ------------------- 2 files changed, 41 deletions(-) delete mode 100644 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-proc-include-fcntl.h-in-proc-pidns.patch
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +0 -1
@@ -23,7 +23,6 @@ SRC_URI += "file://run-ptest \ file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ - file://0001-selftests-proc-include-fcntl.h-in-proc-pidns.patch \ ${@bb.utils.contains('PACKAGECONFIG', 'mm', '${MM_PATCH}', '', d)} \ "
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-proc-include-fcntl.h-in-proc-pidns.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 879b3353d04d043a9e01525c520d9b81339421b2 Mon Sep 17 00:00:00 2001 -From: Amin Vakil <[email protected]> -Date: Thu, 18 Jun 2026 18:44:44 +0330 -Subject: [PATCH] selftests: proc: include fcntl.h in proc-pidns - -proc-pidns.c uses open() and O_* flags, but does not include -<fcntl.h>. This breaks the proc selftests build with errors such as: - - error: implicit declaration of function 'open' - error: 'O_WRONLY' undeclared - error: 'O_CREAT' undeclared - error: 'O_RDONLY' undeclared - -Include <fcntl.h> to provide the declaration and flag definitions. - -Fixes: 5554d820f71c ("selftests/proc: add tests for new pidns APIs") -Tested with: - make -C tools/testing/selftests TARGETS=proc - -Signed-off-by: Amin Vakil <[email protected]> -Link: https://patch.msgid.link/[email protected] -Signed-off-by: Christian Brauner (Amutable) <[email protected]> -Upstream-Status: Backport [https://git.kernel.org/torvalds/c/879b3353d04d] -Signed-off-by: Khem Raj <[email protected]> ---- - tools/testing/selftests/proc/proc-pidns.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tools/testing/selftests/proc/proc-pidns.c b/tools/testing/selftests/proc/proc-pidns.c -index 25b9a2933c45697..6f7c10fe97b304c 100644 ---- a/tools/testing/selftests/proc/proc-pidns.c -+++ b/tools/testing/selftests/proc/proc-pidns.c -@@ -6,6 +6,7 @@ - - #include <assert.h> - #include <errno.h> -+#include <fcntl.h> - #include <sched.h> - #include <stdbool.h> - #include <stdlib.h>
PATCH 2/2 vboxguestdrivers: Forward port patch
Signed-off-by Khem Raj <[email protected]>
--- ...-let-the-build-decide-if-drm_fb_helper_alloc.patch | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vboxvideo-let-the-build-decide-if-drm_fb_helper_alloc.patch +5 -6
@@ -32,15 +32,14 @@ Signed-off-by: Khem Raj <[email protected]> vboxvideo/vbox_fb.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -diff --git a/vboxvideo/vbox_fb.c b/vboxvideo/vbox_fb.c -index 063be63..7163780 100644 --- a/vboxvideo/vbox_fb.c +++ b/vboxvideo/vbox_fb.c -@@ -330,7 +330,14 @@ int vboxfb_create(struct drm_fb_helper *helper, +@@ -329,8 +329,14 @@ int vboxfb_create(struct drm_fb_helper * + DRM_ERROR("failed to kmap fbcon\n"); return ret; } - --#if RTLNX_VER_MIN(6,19,0) || RTLNX_RHEL_RANGE(9,9, 9,99) +- +-#if RTLNX_VER_MIN(6,19,0) || RTLNX_VER_RANGE(6,12,103, 6,13,0) || RTLNX_RHEL_RANGE(9,9, 9,99) + /* + * Since Linux 6.19 the DRM core allocates the struct fb_info instance + * before it calls into this callback, and drm_fb_helper_alloc_info() is
@@ -48,7 +47,7 @@ index 063be63..7163780 100644 + * that, because the change was backported into the middle of the 6.6, + * 6.12 and 6.18 stable series, so let the build system tell us as well. + */ -+#if RTLNX_VER_MIN(6,19,0) || RTLNX_RHEL_RANGE(9,9, 9,99) || defined(VBOX_NO_DRM_FB_HELPER_ALLOC_INFO) ++#if RTLNX_VER_MIN(6,19,0) || RTLNX_VER_RANGE(6,12,103, 6,13,0) || RTLNX_RHEL_RANGE(9,9, 9,99) || defined(VBOX_NO_DRM_FB_HELPER_ALLOC_INFO) info = helper->info; #elif RTLNX_VER_MIN(6,2,0) || RTLNX_RHEL_RANGE(8,9, 8,99) || RTLNX_RHEL_RANGE(9,3, 9,99) info = drm_fb_helper_alloc_info(helper);