* [merged mm-nonmm-stable] selftests-ipc-change-operation-not-supported-error-number.patch removed from -mm tree
@ 2026-08-04 4:05 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-08-04 4:05 UTC (permalink / raw)
To: mm-commits, shuah, richard.weiyang, paul.white.kernel, akpm
The quilt patch titled
Subject: selftests: ipc: change operation not supported error number
has been removed from the -mm tree. Its filename was
selftests-ipc-change-operation-not-supported-error-number.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Paul White <paul.white.kernel@gmail.com>
Subject: selftests: ipc: change operation not supported error number
Date: Mon, 20 Jul 2026 16:40:01 -0400
The application doesn't know what ENOTSUPP means, as it is a kernelspace
error code and the application doesn't have access to kernelspace error
codes.I used EOPNOTSUPP in its place as that is an error number the
application will recognize and know an operation is being attempted that
it cannot support.
Link: https://lore.kernel.org/20260720204001.1663473-1-paul.white.kernel@gmail.com
Signed-off-by: Paul White <paul.white.kernel@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/ipc/msgque.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/testing/selftests/ipc/msgque.c~selftests-ipc-change-operation-not-supported-error-number
+++ a/tools/testing/selftests/ipc/msgque.c
@@ -161,7 +161,7 @@ int dump_queue(struct msgque_data *msgqu
ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype,
MAX_MSG_SIZE, i, IPC_NOWAIT | MSG_COPY);
if (ret < 0) {
- if (errno == ENOSYS)
+ if (errno == EOPNOTSUPP)
ksft_exit_skip("MSG_COPY not supported\n");
ksft_test_result_fail("Failed to copy IPC message: %m (%d)\n", errno);
_
Patches currently in -mm which might be from paul.white.kernel@gmail.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-04 4:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 4:05 [merged mm-nonmm-stable] selftests-ipc-change-operation-not-supported-error-number.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.