Re: [PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default

2019-10-22 Thread David Sterba
On Tue, Oct 22, 2019 at 03:45:38PM +0300, Nikolay Borisov wrote: > > > On 22.10.19 г. 5:02 ч., Marcos Paulo de Souza wrote: > > From: Marcos Paulo de Souza > > > > While compiling btrfs-progs using clang I found an issue using > > __attribute__(fallthrough), which does not seems to work in clan

Re: [PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default

2019-10-22 Thread David Sterba
On Mon, Oct 21, 2019 at 11:02:26PM -0300, Marcos Paulo de Souza wrote: > From: Marcos Paulo de Souza > > While compiling btrfs-progs using clang I found an issue using > __attribute__(fallthrough), which does not seems to work in clang. > > To solve this issue, the code was changed to use /* fal

Re: [PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default

2019-10-22 Thread Nikolay Borisov
On 22.10.19 г. 5:02 ч., Marcos Paulo de Souza wrote: > From: Marcos Paulo de Souza > > While compiling btrfs-progs using clang I found an issue using > __attribute__(fallthrough), which does not seems to work in clang. > > To solve this issue, the code was changed to use /* fallthrough */, wh

[PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default

2019-10-21 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza While compiling btrfs-progs using clang I found an issue using __attribute__(fallthrough), which does not seems to work in clang. To solve this issue, the code was changed to use /* fallthrough */, which is the same notation adopted by linux kernel. Once these places