]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipc/msg: replace one-element array with flexible array member
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 30 Sep 2024 19:58:22 +0000 (21:58 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:28 +0000 (17:12 -0800)
commitf9a4d8930f272fd76edc1f76062b5ca316bda25d
treebdb11f9e5e73ba8ebfc085a916f9bce9cd4532aa
parent9357bf5e66660cf56da44905ff2b158056bc6087
ipc/msg: replace one-element array with flexible array member

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.

Link: https://github.com/KSPP/linux/issues/79
Link: https://lkml.kernel.org/r/20240930195824.153648-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Cc: "Sun, Jiebin" <jiebin.sun@intel.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/msg.c