mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +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;
|
break;
|
||||||
}
|
}
|
||||||
// follow through
|
// follow through
|
||||||
|
fallthrough;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case PCIE_INT_MODE_MSI:
|
case PCIE_INT_MODE_MSI:
|
||||||
pcie_int_mode = 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
|
// follow through
|
||||||
|
fallthrough;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case PCIE_INT_MODE_LEGACY:
|
case PCIE_INT_MODE_LEGACY:
|
||||||
pcie_int_mode = PCIE_INT_MODE_LEGACY;
|
pcie_int_mode = PCIE_INT_MODE_LEGACY;
|
||||||
|
|
Loading…
Reference in a new issue