]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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

index b119b859a0a38e7cabc2ab60f6ca5e61a30f53f8,3a2d50d61fc96c6304ff1a29bd911ceca98c820c..1400fbb8b423b966f6795422ab1196b3e62d8589
@@@ -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