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:
Wu Gao
2020-11-07 02:24:06 -08:00
committed by snandini
parent 50324c2260
commit 32cab9b00c
3 changed files with 3 additions and 2 deletions

View File

@@ -10648,6 +10648,7 @@ static uint32_t dp_get_cfg(struct cdp_soc_t *soc, enum cdp_dp_cfg cfg)
break; break;
case cfg_dp_wow_check_rx_pending: case cfg_dp_wow_check_rx_pending:
value = dpsoc->wlan_cfg_ctx->wow_check_rx_pending_enable; value = dpsoc->wlan_cfg_ctx->wow_check_rx_pending_enable;
break;
default: default:
value = 0; value = 0;
} }

View File

@@ -220,7 +220,7 @@ QDF_STATUS hal_construct_shadow_regs(void *hal_soc)
shadow_config_index; shadow_config_index;
hal->list_shadow_reg_config[i].va = hal->list_shadow_reg_config[i].va =
SHADOW_REGISTER(shadow_config_index) + 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_debug("target_reg %x, shadow register 0x%x shadow_index 0x%x",
hal->shadow_config[shadow_config_index].addr, hal->shadow_config[shadow_config_index].addr,
SHADOW_REGISTER(shadow_config_index), SHADOW_REGISTER(shadow_config_index),

View File

@@ -271,7 +271,7 @@ scm_copy_valid_channels(struct wlan_objmgr_psoc *psoc,
* Consider the complete channel list if firmware supports * Consider the complete channel list if firmware supports
* RNR_ONLY scan flag/feature. * RNR_ONLY scan flag/feature.
*/ */
/* fallthrough */
default: default:
/* /*
* Allow all 2g/5g/6g channels. Below are also covered in this * Allow all 2g/5g/6g channels. Below are also covered in this