Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-12-01 Thread Bartosz Golaszewski
On Thu, Nov 19, 2020 at 6:07 PM Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Signed-

Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 6:51 PM Bartosz Golaszewski wrote: > > On Thu, Nov 19, 2020 at 7:46 PM Andy Shevchenko > wrote: > > > > On Thu, Nov 19, 2020 at 7:08 PM Gustavo A. R. Silva > > wrote: > > > > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > > by explicitly

Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-11-30 Thread Bartosz Golaszewski
On Thu, Nov 19, 2020 at 7:46 PM Andy Shevchenko wrote: > > On Thu, Nov 19, 2020 at 7:08 PM Gustavo A. R. Silva > wrote: > > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > by explicitly adding a break statement instead of letting the code fall > > through to the n

Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-11-19 Thread Andy Shevchenko
On Thu, Nov 19, 2020 at 7:08 PM Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. Reviewed-by: Andy Shevchenko > Link: https://github.com/K

[PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-11-19 Thread Gustavo A. R. Silva
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva --- drivers/gpio/gpiolib-acpi.c | 1 + 1 fi