diff --git a/hal/wifi3.0/hal_api.h b/hal/wifi3.0/hal_api.h index 3ffa518d77..489f49c130 100644 --- a/hal/wifi3.0/hal_api.h +++ b/hal/wifi3.0/hal_api.h @@ -271,7 +271,7 @@ static inline void hal_write32_mb(struct hal_soc *hal_soc, uint32_t offset, if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC( hal_soc->hif_handle))) { - hal_err_rl("%s: target access is not allowed", __func__); + hal_err_rl("target access is not allowed"); return; } @@ -331,7 +331,7 @@ static inline void hal_write32_mb_confirm(struct hal_soc *hal_soc, if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC( hal_soc->hif_handle))) { - hal_err_rl("%s: target access is not allowed", __func__); + hal_err_rl("target access is not allowed"); return; } @@ -491,7 +491,7 @@ uint32_t hal_read32_mb(struct hal_soc *hal_soc, uint32_t offset) if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC( hal_soc->hif_handle))) { - hal_err_rl("%s: target access is not allowed", __func__); + hal_err_rl("target access is not allowed"); return 0; } diff --git a/hal/wifi3.0/hal_reo.c b/hal/wifi3.0/hal_reo.c index 6f4f8c905f..87ecd528e9 100644 --- a/hal/wifi3.0/hal_reo.c +++ b/hal/wifi3.0/hal_reo.c @@ -539,8 +539,7 @@ inline int hal_reo_cmd_flush_cache(hal_ring_handle_t hal_ring_hdl, if (cp->block_use_after_flush) { index = hal_find_zero_bit(hal_soc->reo_res_bitmap); if (index > 3) { - qdf_print("%s, No blocking resource available!", - __func__); + qdf_print("No blocking resource available!"); hal_srng_access_end(hal_soc, hal_ring_hdl); return -EBUSY; } @@ -624,8 +623,7 @@ inline int hal_reo_cmd_unblock_cache(hal_ring_handle_t hal_ring_hdl, index = hal_find_one_bit(hal_soc->reo_res_bitmap); if (index > 3) { hal_srng_access_end(hal_soc, hal_ring_hdl); - qdf_print("%s: No blocking resource to unblock!", - __func__); + qdf_print("No blocking resource to unblock!"); return -EBUSY; } } diff --git a/hal/wifi3.0/hal_srng.c b/hal/wifi3.0/hal_srng.c index 51519c1dbc..f6427486c0 100644 --- a/hal/wifi3.0/hal_srng.c +++ b/hal/wifi3.0/hal_srng.c @@ -267,8 +267,8 @@ static void hal_validate_shadow_register(struct hal_soc *hal, } return; error: - qdf_print("%s: baddr %pK, desination %pK, shadow_address %pK s0offset %pK index %x", - __func__, hal->dev_base_addr, destination, shadow_address, + qdf_print("baddr %pK, desination %pK, shadow_address %pK s0offset %pK index %x", + hal->dev_base_addr, destination, shadow_address, shadow_0_offset, index); QDF_BUG(0); return;