mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-22 08:28:21 +00:00
kernel-selftest: Delete patch not needed with latest 7.2 kernel
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
2 files changed
-41
No files matched your search
@@ -23,7 +23,6 @@ SRC_URI += "file://run-ptest \
|
|||||||
file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \
|
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-cgroup-memcontrol-keep-anon-page-touches-f.patch \
|
||||||
file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.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)} \
|
${@bb.utils.contains('PACKAGECONFIG', 'mm', '${MM_PATCH}', '', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
-40
@@ -1,40 +0,0 @@
|
|||||||
From 879b3353d04d043a9e01525c520d9b81339421b2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Amin Vakil <info@aminvakil.com>
|
|
||||||
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 <info@aminvakil.com>
|
|
||||||
Link: https://patch.msgid.link/20260618151444.124739-1-info@aminvakil.com
|
|
||||||
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
|
|
||||||
Upstream-Status: Backport [https://git.kernel.org/torvalds/c/879b3353d04d]
|
|
||||||
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
|
|
||||||
---
|
|
||||||
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>
|
|
||||||
Reference in new issue
Block a user