Re: [PATCH] crypto: ux500/crypt: Mark expected switch fall-throughs

2019-08-08 Thread Herbert Xu
On Mon, Jul 29, 2019 at 05:38:19PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: arm): > > drivers/crypto/ux500/cryp/cryp.c: In function ‘cryp_save_device_context’: > drivers/crypto/ux500/cryp/cr

Re: [PATCH] crypto: ux500/crypt: Mark expected switch fall-throughs

2019-07-30 Thread Kees Cook
On Mon, Jul 29, 2019 at 05:38:19PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: arm): > > drivers/crypto/ux500/cryp/cryp.c: In function ‘cryp_save_device_context’: > drivers/crypto/ux500/cryp/cr

[PATCH] crypto: ux500/crypt: Mark expected switch fall-throughs

2019-07-29 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: arm): drivers/crypto/ux500/cryp/cryp.c: In function ‘cryp_save_device_context’: drivers/crypto/ux500/cryp/cryp.c:316:16: warning: this statement may fall through [-Wimplicit-fallthrough=]