qcacmn: Fix compilation issue on arch32 by gcc 9.3
This change fixed compilation error about implicit-fallthrough and pointer to in cast. Change-Id: Iea2c25d97d8a039ed0f8083078427a8f8de70cd1 CRs-Fixed: 2814658
This commit is contained in:
@@ -10648,6 +10648,7 @@ static uint32_t dp_get_cfg(struct cdp_soc_t *soc, enum cdp_dp_cfg cfg)
|
||||
break;
|
||||
case cfg_dp_wow_check_rx_pending:
|
||||
value = dpsoc->wlan_cfg_ctx->wow_check_rx_pending_enable;
|
||||
break;
|
||||
default:
|
||||
value = 0;
|
||||
}
|
||||
|
@@ -220,7 +220,7 @@ QDF_STATUS hal_construct_shadow_regs(void *hal_soc)
|
||||
shadow_config_index;
|
||||
hal->list_shadow_reg_config[i].va =
|
||||
SHADOW_REGISTER(shadow_config_index) +
|
||||
(uint64_t)hal->dev_base_addr;
|
||||
(uintptr_t)hal->dev_base_addr;
|
||||
hal_debug("target_reg %x, shadow register 0x%x shadow_index 0x%x",
|
||||
hal->shadow_config[shadow_config_index].addr,
|
||||
SHADOW_REGISTER(shadow_config_index),
|
||||
|
@@ -271,7 +271,7 @@ scm_copy_valid_channels(struct wlan_objmgr_psoc *psoc,
|
||||
* Consider the complete channel list if firmware supports
|
||||
* RNR_ONLY scan flag/feature.
|
||||
*/
|
||||
|
||||
/* fallthrough */
|
||||
default:
|
||||
/*
|
||||
* Allow all 2g/5g/6g channels. Below are also covered in this
|
||||
|
Reference in New Issue
Block a user