Re: [PATCH] scsi: mpt3sas: Mark expected switch fall-through

2019-06-18 Thread Martin K. Petersen
Gustavo, > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/scsi/mpt3sas/mpt3sas_base.c: In function > ‘_base_update_ioc_page1_inlinewith_perf_mode’: > drivers/scsi/mpt3sas/mpt3

Re: [PATCH] scsi: mpt3sas: Mark expected switch fall-through

2019-06-11 Thread Kees Cook
On Tue, Jun 11, 2019 at 10:02:19AM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/scsi/mpt3sas/mpt3sas_base.c: In function > ‘_base_update_i

[PATCH] scsi: mpt3sas: Mark expected switch fall-through

2019-06-11 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warning: drivers/scsi/mpt3sas/mpt3sas_base.c: In function ‘_base_update_ioc_page1_inlinewith_perf_mode’: drivers/scsi/mpt3sas/mpt3sas_base.c:4510:6: warning