From: Linus Torvalds Date: Wed, 3 Aug 2022 02:50:47 +0000 (-0700) Subject: Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub... X-Git-Tag: v6.6.17~6933 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2b542100719a93f8cdf6d90185410d38a57a4c1;p=platform%2Fkernel%2Flinux-rpi.git Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git./linux/kernel/git/gustavoars/linux Pull uapi flexible array update from Gustavo Silva: "A treewide patch that replaces zero-length arrays with flexible-array members in UAPI. This has been baking in linux-next for 5 weeks now. '-fstrict-flex-arrays=3' is coming and we need to land these changes to prevent issues like these in the short future: fs/minix/dir.c:337:3: warning: 'strcpy' will always overflow; destination buffer has size 0, but the source string has length 2 (including NUL byte) [-Wfortify-source] strcpy(de3->name, "."); ^ Since these are all [0] to [] changes, the risk to UAPI is nearly zero. If this breaks anything, we can use a union with a new member name" Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 * tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: treewide: uapi: Replace zero-length arrays with flexible-array members --- e2b542100719a93f8cdf6d90185410d38a57a4c1