Re: [PATCH] posix-acl: avoid -Wempty-body warning

2021-03-22 Thread Christian Brauner
On Mon, Mar 22, 2021 at 02:02:54PM +0100, Arnd Bergmann wrote: > On Mon, Mar 22, 2021 at 1:15 PM Christian Brauner > wrote: > > On Mon, Mar 22, 2021 at 12:38:24PM +0100, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The fallthrough comment for an ignored cmpxchg() return value > > >

Re: [PATCH] posix-acl: avoid -Wempty-body warning

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 1:15 PM Christian Brauner wrote: > On Mon, Mar 22, 2021 at 12:38:24PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The fallthrough comment for an ignored cmpxchg() return value > > produces a harmless warning with 'make W=1': > > > > fs/posix_acl.c: In funct

Re: [PATCH] posix-acl: avoid -Wempty-body warning

2021-03-22 Thread Christian Brauner
On Mon, Mar 22, 2021 at 12:38:24PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The fallthrough comment for an ignored cmpxchg() return value > produces a harmless warning with 'make W=1': > > fs/posix_acl.c: In function 'get_acl': > fs/posix_acl.c:127:36: error: suggest braces around e

[PATCH] posix-acl: avoid -Wempty-body warning

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann The fallthrough comment for an ignored cmpxchg() return value produces a harmless warning with 'make W=1': fs/posix_acl.c: In function 'get_acl': fs/posix_acl.c:127:36: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 127 |