From: Daniel Wagner Date: Fri, 21 Oct 2022 07:17:15 +0000 (+0200) Subject: fabrics: Use fallthrough statement X-Git-Tag: v1.2~14^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c1e98a49bd2031d273269ea70f039050346c9de6;p=users%2Fsagi%2Flibnvme.git fabrics: Use fallthrough statement Use consistently the fallthrough statement as we have a fallback in util.h in case the compiler doesn't support it. Signed-off-by: Daniel Wagner --- diff --git a/src/nvme/fabrics.c b/src/nvme/fabrics.c index fe8143b5..1a4ac4a5 100644 --- a/src/nvme/fabrics.c +++ b/src/nvme/fabrics.c @@ -742,7 +742,7 @@ nvme_ctrl_t nvmf_connect_disc_entry(nvme_host_t h, default: nvme_msg(h->r, LOG_ERR, "unsupported subtype %d\n", e->subtype); - /* fallthrough */ + fallthrough; case NVME_NQN_NVME: nvme_ctrl_set_discovery_ctrl(c, false); break;