diff options
author | 2019-05-07 09:23:00 -0500 | |
---|---|---|
committer | 2019-05-13 16:00:03 +0200 | |
commit | 3b7dffb971dc2998004cec1efc883191c736d6b3 (patch) | |
tree | b38bd1d2e7fa821ae018786d5e2b00889ba6fde9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | nvme-pci: add known admin effects to augument admin effects log page (diff) | |
download | wireguard-linux-3b7dffb971dc2998004cec1efc883191c736d6b3.tar.xz wireguard-linux-3b7dffb971dc2998004cec1efc883191c736d6b3.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions