From: Linus Torvalds Date: Thu, 24 Mar 2022 18:39:32 +0000 (-0700) Subject: Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm... X-Git-Url: https://repo.jachan.dev/J-linux.git/commitdiff_plain/3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749 Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux Pull flexible-array transformations from Gustavo Silva: "Treewide patch that replaces zero-length arrays with flexible-array members. This has been baking in linux-next for a whole development cycle" * tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: treewide: Replace zero-length arrays with flexible-array members --- 3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749 diff --cc arch/sh/include/asm/thread_info.h index b119b859a0a3,3a2d50d61fc9..1400fbb8b423 --- a/arch/sh/include/asm/thread_info.h +++ b/arch/sh/include/asm/thread_info.h @@@ -30,9 -30,10 +30,9 @@@ struct thread_info __u32 status; /* thread synchronous flags */ __u32 cpu; int preempt_count; /* 0 => preemptable, <0 => BUG */ - mm_segment_t addr_limit; /* thread address space */ unsigned long previous_sp; /* sp of previous stack in case of nested IRQ stacks */ - __u8 supervisor_stack[0]; + __u8 supervisor_stack[]; }; #endif