mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-14 02:55:34 +00:00
MA-20998-6 mxm_wifiex: Fix unannotated fall-through between switch labels build error
Fix below build error: mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1385:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] case PCIE_INT_MODE_MSI: ^ mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1402:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] case PCIE_INT_MODE_LEGACY: ^ Change-Id: I1322a4f2f128b39b4ac7e01ede5c0145905f2f8f Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
This commit is contained in:
parent
c847fbe032
commit
a7f96835dc
1 changed files with 2 additions and 2 deletions
|
@ -1380,7 +1380,7 @@ static mlan_status woal_pcie_register_dev(moal_handle *handle)
|
|||
break;
|
||||
}
|
||||
// follow through
|
||||
|
||||
fallthrough;
|
||||
/* fall through */
|
||||
case PCIE_INT_MODE_MSI:
|
||||
pcie_int_mode = PCIE_INT_MODE_MSI;
|
||||
|
@ -1397,7 +1397,7 @@ static mlan_status woal_pcie_register_dev(moal_handle *handle)
|
|||
}
|
||||
}
|
||||
// follow through
|
||||
|
||||
fallthrough;
|
||||
/* fall through */
|
||||
case PCIE_INT_MODE_LEGACY:
|
||||
pcie_int_mode = PCIE_INT_MODE_LEGACY;
|
||||
|
|
Loading…
Reference in a new issue