mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
flexible-array transformations for 6.5-rc1
Hi Linus, Please, pull the following patch that transforms a zero-length array into a C99 flexible-array member. This patch has been baking in linux-next for a while. Also, this addresses a build failure with Clang[1] by fixing multiple -Warray-bounds warnings in drivers/staging/ks7010/ks_wlan_net.c[2]. Link: https://linux.kernelci.org/build/next/branch/master/kernel/next-20230524/ [1] Link: https://github.com/ClangBuiltLinux/linux/issues/1851 [2] Thanks -- Gustavo Changes in v2: - Remove media-venus patch from the pull-request. v1: - Link: https://lore.kernel.org/linux-hardening/ZJxZJDUDs1ry84Rc@work/ -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkmRahXBSurMIg1YvRwW0y0cG2zEFAmSfAd0ACgkQRwW0y0cG 2zHFrw/9EOPY8tjUpbaMKhCzbpT1HzYWy6aGG0YobkeuKyUehUoRGFsjA/dvpziV 3XFWmZE+gDKcbm+Odwnw/2uSZzFCjC+oXyWEztOLx/yY8mSLv2CZxQc+3lzVcJeT Fcat1TrQ6lNR3DIWmYI+80IqEnCfxOjAgnJld4wv0PUVck5nttMbqNmhMF/NZK8S 0uUCw1hS1OMGSRYx/K/1oCgXnQQZfn7pFZG6A3jQtd/F2sF1cQu5AZmamq5t/v2Y dWIsrZfaaEDd7u2NJ0EubCYd/tQ3lgPleJJ2aNBmL4xMmojkRzAZYOUABMPTdy52 G60QHGLcPfRhhDCXOjs7Cgp13dtg4YjA1c26oy14fdCBEIMHom64ptFEfge+tlTg P6dMwnRux8jKDLUlPK1Xqm2m1Dp5M4SzbsEE80WebDJ+rqXJxK/olqGBRZhUpr2E 2kZIvlYpiEhoBIPviei2NDalHTkrpcSYT64Fm9M396Womr0cfdQfXrhMtNGRoNDQ 1nCa1WH8BrK23CAdFhN9e88lCMj9xFOHRMYBad5tVCvTTd/bJ+41j+Cywtdf1qIR 1Oybu+5lAnIGrF+mguqaURnKwAElv6HlHR/9jFALcYeP/NeleNj05YgI3gbXmmID R0RS2IgVr2RZD5ATE9JIo5XQZqPbv4JASmtg3IJ47YQS/Iy28XQ= =wDkd -----END PGP SIGNATURE----- Merge tag 'flex-array-transformations-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux Pull flexible-array update from Gustavo Silva: "Transform a zero-length array into a C99 flexible-array member. This addresses a build failure with Clang by fixing multiple '-Warray-bounds' warnings in drivers/staging/ks7010/ks_wlan_net.c" * tag 'flex-array-transformations-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: uapi: wireless: Replace zero-length array with flexible-array member
This commit is contained in:
commit
170ab6c51a
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ struct iw_encode_ext {
|
|||
* individual keys */
|
||||
__u16 alg; /* IW_ENCODE_ALG_* */
|
||||
__u16 key_len;
|
||||
__u8 key[0];
|
||||
__u8 key[];
|
||||
};
|
||||
|
||||
/* SIOCSIWMLME data */
|
||||
|
|
Loading…
Reference in a new issue