Skip to contentSkip to conversation

ipc-msg-replace-one-element-array-with-flexible-array-member.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Nov 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: ipc/msg: replace one-element array with flexible array member
has been removed from the -mm tree. Its filename was
ipc-msg-replace-one-element-array-with-flexible-array-member.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: Thorsten Blum <[email protected]>
Subject: ipc/msg: replace one-element array with flexible array member
Date: Mon, 30 Sep 2024 21:58:22 +0200

Replace the deprecated one-element array with a modern flexible array member in the struct compat_msgbuf.

There are no binary differences after this conversion.

---

 ipc/msg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ipc/msg.c renamed from ipc/msg.c~ipc-msg-replace-one-element-array-with-flexible-array-member +1 -1
@@ -978,7 +978,7 @@ SYSCALL_DEFINE4(msgsnd, int, msqid, stru
 
 struct compat_msgbuf {
 	compat_long_t mtype;
-	char mtext[1];
+	char mtext[];
 };
 
 long compat_ksys_msgsnd(int msqid, compat_uptr_t msgp,

_

Patches currently in -mm which might be from [email protected] are

mailmap-add-entry-for-thorsten-blum.patch mm-show_mem-use-str_yes_no-helper-in-show_free_areas.patch