summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/common/io/nxge/npi/npi_mac.c4
-rw-r--r--usr/src/uts/common/io/nxge/npi/npi_vir.c3
-rw-r--r--usr/src/uts/common/io/nxge/nxge_zcp.c3
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)