diff options
author | Toomas Soome <tsoome@me.com> | 2017-07-02 00:45:39 +0300 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2018-04-01 17:48:01 -0400 |
commit | 73ff8cc657529b1dc6066efa02507cc59523bf46 (patch) | |
tree | 40ca24b6332cbc771f2a6ab5d158da8ea241920b | |
parent | ea60f77b8bdb7a88d6143d8bd30ddebab992abee (diff) | |
download | illumos-joyent-73ff8cc657529b1dc6066efa02507cc59523bf46.tar.gz |
9240 nxge: this statement may fall through
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r-- | usr/src/uts/common/io/nxge/npi/npi_mac.c | 4 | ||||
-rw-r--r-- | usr/src/uts/common/io/nxge/npi/npi_vir.c | 3 | ||||
-rw-r--r-- | usr/src/uts/common/io/nxge/nxge_zcp.c | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/uts/common/io/nxge/npi/npi_mac.c b/usr/src/uts/common/io/nxge/npi/npi_mac.c index d196bc80a3..8d808577f9 100644 --- a/usr/src/uts/common/io/nxge/npi/npi_mac.c +++ b/usr/src/uts/common/io/nxge/npi/npi_mac.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <npi_mac.h> #define MIF_DELAY 500 @@ -1292,6 +1290,7 @@ npi_mac_port_attr(npi_handle_t handle, io_op_t op, uint8_t portn, " npi_mac_port_attr" "MAC_PORT_IPG:" " Invalid Input: portn <%d>", portn)); + /* FALLTHROUGH */ default: return (NPI_FAILURE | NPI_MAC_PORT_INVALID(portn)); } @@ -1390,6 +1389,7 @@ npi_mac_port_attr(npi_handle_t handle, io_op_t op, uint8_t portn, " MAC_PORT_IPG:" " Invalid Input: portn <%d>", portn)); + /* FALLTHROUGH */ default: return (NPI_FAILURE | NPI_MAC_PORT_INVALID(portn)); } diff --git a/usr/src/uts/common/io/nxge/npi/npi_vir.c b/usr/src/uts/common/io/nxge/npi/npi_vir.c index 017f64d108..6c20963309 100644 --- a/usr/src/uts/common/io/nxge/npi/npi_vir.c +++ b/usr/src/uts/common/io/nxge/npi/npi_vir.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <npi_vir.h> /* One register only */ @@ -1052,6 +1050,7 @@ npi_ldsv_ld_get(npi_handle_t handle, uint8_t ldg, uint8_t ld, case VECTOR2: offset = LDSV2_REG + LDSV_OFFSET(ldg); + break; default: NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, "npi_ldsv_get" diff --git a/usr/src/uts/common/io/nxge/nxge_zcp.c b/usr/src/uts/common/io/nxge/nxge_zcp.c index 7fd9a3ad3c..a56efd7ea8 100644 --- a/usr/src/uts/common/io/nxge/nxge_zcp.c +++ b/usr/src/uts/common/io/nxge/nxge_zcp.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <nxge_impl.h> #include <nxge_zcp.h> #include <nxge_ipp.h> @@ -358,6 +356,7 @@ nxge_zcp_inject_err(p_nxge_t nxgep, uint32_t err_id) break; } } + /* FALLTHROUGH */ default: if (err_id == NXGE_FM_EREPORT_ZCP_RRFIFO_OVERRUN) |