summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-06-15 08:29:02 +0300
committerDan McDonald <danmcd@joyent.com>2018-07-30 13:30:01 -0400
commit0d7de619fa7b28e48c8e80fa26d724400f4f47a4 (patch)
tree529174da9c1604eea8de7200e58d8966434c588c /usr/src
parent77b62fe435d195b5a58f123e6c5ec9c9dffdc877 (diff)
downloadillumos-joyent-0d7de619fa7b28e48c8e80fa26d724400f4f47a4.tar.gz
9607 qede: this statement may fall through
Reviewed by: Andy Fiddaman <af@citrus-it.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Ken Mays <kmays2000@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c3
-rw-r--r--usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c b/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
index 49c96990bd..54a9170b10 100644
--- a/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
+++ b/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
@@ -2225,13 +2225,12 @@ enum _ecore_status_t ecore_cxt_set_pf_params(struct ecore_hwfn *p_hwfn,
case ECORE_PCI_ETH_RDMA:
case ECORE_PCI_ETH_IWARP:
case ECORE_PCI_ETH_ROCE:
- {
ecore_rdma_set_pf_params(p_hwfn,
&p_hwfn->pf_params.rdma_pf_params,
rdma_tasks);
/* no need for break since RoCE coexist with Ethernet */
- }
+ /* FALLTHROUGH */
case ECORE_PCI_ETH:
{
struct ecore_eth_pf_params *p_params =
diff --git a/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c b/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
index 9c769f3e71..f8f7d1a396 100644
--- a/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
+++ b/usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
@@ -2218,13 +2218,13 @@ enum _ecore_status_t ecore_hw_init(struct ecore_dev *p_dev,
p_hwfn->hw_info.hw_mode);
if (rc != ECORE_SUCCESS)
break;
- /* Fall into */
+ /* FALLTHROUGH */
case FW_MSG_CODE_DRV_LOAD_PORT:
rc = ecore_hw_init_port(p_hwfn, p_hwfn->p_main_ptt,
p_hwfn->hw_info.hw_mode);
if (rc != ECORE_SUCCESS)
break;
- /* Fall into */
+ /* FALLTHROUGH */
case FW_MSG_CODE_DRV_LOAD_FUNCTION:
rc = ecore_hw_init_pf(p_hwfn, p_hwfn->p_main_ptt,
p_params->p_tunn,