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:
Zhipeng Wang 2023-01-11 10:49:20 +00:00
parent c847fbe032
commit a7f96835dc

View file

@ -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;