[RESEND PATCH] sctp: Replace zero-length array with flexible array member

2024-12-20 Thread Thorsten Blum
Replace the deprecated zero-length array with a modern flexible array member in the struct sctp_idatahdr. Link: https://github.com/KSPP/linux/issues/78 Reviewed-by: Kees Cook Signed-off-by: Thorsten Blum --- include/linux/sctp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] iio: proximity: hx9023s: Added firmware file parsing functionality

2024-12-20 Thread Jonathan Cameron
On Mon, 16 Dec 2024 15:59:40 +0800 Yasin Lee wrote: > Configuration information is now prioritized from the firmware file. > If the firmware file is missing or fails to parse, the driver falls > back to using the default configuration list for writing the settings. > > Signed-off-by: Yasin Lee

Re: [PATCH v2] stddef: make __struct_group() UAPI C++-friendly

2024-12-20 Thread Kees Cook
On Thu, 19 Dec 2024 14:57:34 +0100, Alexander Lobakin wrote: > For the most part of the C++ history, it couldn't have type > declarations inside anonymous unions for different reasons. At the > same time, __struct_group() relies on the latters, so when the @TAG > argument is not empty, C++ code doe