linux_dsm_epyc7002/drivers/nvme/host
Gustavo A. R. Silva 3b7dffb971 nvme-pci: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

drivers/nvme/host/pci.c: In function ‘nvme_timeout’:
drivers/nvme/host/pci.c:1298:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
   shutdown = true;
   ~~~~~~~~~^~~~~~
drivers/nvme/host/pci.c:1299:2: note: here
  case NVME_CTRL_CONNECTING:
  ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-05-13 16:00:03 +02:00
..
core.c nvme-pci: add known admin effects to augument admin effects log page 2019-05-13 16:00:03 +02:00
fabrics.c nvme-fabrics: check more command sizes 2019-05-01 09:17:27 -04:00
fabrics.h nvme-fabrics: convert to SPDX identifiers 2019-02-20 07:22:13 -07:00
fault_inject.c nvme: convert to SPDX identifiers 2019-02-20 07:22:28 -07:00
fc.c nvme-fc: correct csn initialization and increments on error 2019-04-11 17:28:30 +02:00
Kconfig nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
lightnvm.c lightnvm: Inherit mdts from the parent nvme device 2019-05-06 10:19:17 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme-multipath: don't print ANA group state by default 2019-05-01 09:17:16 -04:00
nvme.h nvme: mark nvme_core_init and nvme_core_exit static 2019-05-01 09:18:47 -04:00
pci.c nvme-pci: mark expected switch fall-through 2019-05-13 16:00:03 +02:00
rdma.c nvme-rdma: fix a NULL deref when an admin connect times out 2019-04-25 16:51:39 +02:00
tcp.c nvme-tcp: fix possible null deref on a timed out io queue connect 2019-05-01 09:17:15 -04:00
trace.c nvme: add get-feature to admin cmds tracer 2019-03-13 12:05:39 -06:00
trace.h nvme-trace: fix cdw10 buffer overrun 2019-03-13 12:05:39 -06:00