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

@@ -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),