linux/arch
Linus Torvalds e2b5421007 flexible-array transformations in UAPI for 6.0-rc1
Hi Linus,
 
 Please, pull the following treewide patch that replaces zero-length arrays
 with flexible-array members in UAPI. This patch 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
 
 Thanks
 --
 Gustavo
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEkmRahXBSurMIg1YvRwW0y0cG2zEFAmLoNdcACgkQRwW0y0cG
 2zEVeg//QYJ3j2pbKt9zB6muO3SkrNoMPc5wpY/SITUeiDscukLvGzJG88eIZskl
 NaEjbmacHmdlQrBkUdr10i1+hkb2zRd6/j42GIDXEhhKTMoT2UxJCBp47KSvd7VY
 dKNLGsgQs3kwmmxLEGu6w6vywWpI5wxXTKWL1Q/RpUXoOnLmsMEbzKTjf12a1Edl
 9gPNY+tMHIHyB0pGIRXDY/ZF5c+FcRFn6kKeMVzJL0bnX7FI4UmYe83k9ajEiLWA
 MD3JAw/mNv2X0nizHHuQHIjtky8Pr+E8hKs5ni88vMYmFqeABsTw4R1LJykv/mYa
 NakU1j9tHYTKcs2Ju+gIvSKvmatKGNmOpti/8RAjEX1YY4cHlHWNsigVbVRLqfo7
 SKImlSUxOPGFS3HAJQCC9P/oZgICkUdD6sdLO1PVBnE1G3Fvxg5z6fGcdEuEZkVR
 PQwlYDm1nlTuScbkgVSBzyU/AkntVMJTuPWgbpNo+VgSXWZ8T/U8II0eGrFVf9rH
 +y5dAS52/bi6OP0la7fNZlq7tcPfNG9HJlPwPb1kQtuPT4m6CBhth/rRrDJwx8za
 0cpJT75Q3CI0wLZ7GN4yEjtNQrlAeeiYiS4LMQ/SFFtg1KzvmYYVmWDhOf0+mMDA
 f7bq4cxEg2LHwrhRgQQWowFVBu7yeiwKbcj9sybfA27bMqCtfto=
 =8yMq
 -----END PGP SIGNATURE-----

Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub/scm/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
2022-08-02 19:50:47 -07:00
..
alpha genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
arc
arm RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
arm64 RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
csky RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
hexagon
ia64 genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
loongarch RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
m68k flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
microblaze
mips flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
nios2
openrisc openrisc: unwinder: Fix grammar issue in comment 2022-06-28 17:31:24 +09:00
parisc Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
powerpc RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
riscv RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
s390 flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
sh ARM: SoC defconfig updates for 6.0 2022-08-02 08:21:58 -07:00
sparc RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
um Random number generator updates for Linux 6.0-rc1. 2022-08-02 17:31:35 -07:00
x86 flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
xtensa RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00
.gitignore
Kconfig RCU pull request for v5.20 (or whatever) 2022-08-02 19:12:45 -07:00