Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 18:39:32 +0000 (11:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 18:39:32 +0000 (11:39 -0700)
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

1  2 
arch/sh/include/asm/thread_info.h
fs/ext4/fast_commit.h
fs/ksmbd/transport_rdma.c

@@@ -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
Simple merge
Simple merge