Re: [PATCH] mfd: db8500-prcmu: Mark expected switch fall-throughs

2019-08-12 Thread Lee Jones
On Sun, 28 Jul 2019, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/mfd/db8500-prcmu.c: In function 'dsiclk_rate': > drivers/mfd/db8500-prcmu.c:1592:7: warning: this statement may fall through > [-W

Re: [PATCH] mfd: db8500-prcmu: Mark expected switch fall-throughs

2019-08-07 Thread Linus Walleij
On Mon, Jul 29, 2019 at 1:56 AM Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/mfd/db8500-prcmu.c: In function 'dsiclk_rate': > drivers/mfd/db8500-prcmu.c:1592:7: warning: this statement may fall thro

Re: [PATCH] mfd: db8500-prcmu: Mark expected switch fall-throughs

2019-07-29 Thread Kees Cook
On Sun, Jul 28, 2019 at 06:56:14PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/mfd/db8500-prcmu.c: In function 'dsiclk_rate': > drivers/mfd/db8500-prcmu.c:1592:7: warning: this statement may

[PATCH] mfd: db8500-prcmu: Mark expected switch fall-throughs

2019-07-28 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warnings: drivers/mfd/db8500-prcmu.c: In function 'dsiclk_rate': drivers/mfd/db8500-prcmu.c:1592:7: warning: this statement may fall through [-Wimplicit-fallthrough=] div *= 2; ^~~~ drivers/mfd/db8