Skip to content

Commit

Permalink
9607 qede: this statement may fall through
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tsoome authored and Dan McDonald committed Jul 30, 2018
1 parent 77b62fe commit 0d7de61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
Expand Up @@ -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,
Expand Down

0 comments on commit 0d7de61

Please sign in to comment.