diff --git a/target_if/dfs/src/target_if_dfs.c b/target_if/dfs/src/target_if_dfs.c index ef4c721365f3..267dd536eb13 100644 --- a/target_if/dfs/src/target_if_dfs.c +++ b/target_if/dfs/src/target_if_dfs.c @@ -50,7 +50,7 @@ static int target_if_dfs_cac_complete_event_handler( uint32_t vdev_id = 0; if (!scn || !data) { - target_if_err("scn: %p, data: %p", scn, data); + target_if_err("scn: %pK, data: %pK", scn, data); return -EINVAL; } @@ -62,7 +62,7 @@ static int target_if_dfs_cac_complete_event_handler( dfs_rx_ops = target_if_dfs_get_rx_ops(psoc); if (!dfs_rx_ops || !dfs_rx_ops->dfs_dfs_cac_complete_ind) { - target_if_err("Invalid dfs_rx_ops: %p", dfs_rx_ops); + target_if_err("Invalid dfs_rx_ops: %pK", dfs_rx_ops); return -EINVAL; } @@ -104,7 +104,7 @@ static int target_if_dfs_radar_detection_event_handler( int ret = 0; if (!scn || !data) { - target_if_err("scn: %p, data: %p", scn, data); + target_if_err("scn: %pK, data: %pK", scn, data); return -EINVAL; } @@ -116,7 +116,7 @@ static int target_if_dfs_radar_detection_event_handler( dfs_rx_ops = target_if_dfs_get_rx_ops(psoc); if (!dfs_rx_ops || !dfs_rx_ops->dfs_process_radar_ind) { - target_if_err("Invalid dfs_rx_ops: %p", dfs_rx_ops); + target_if_err("Invalid dfs_rx_ops: %pK", dfs_rx_ops); return -EINVAL; } diff --git a/target_if/p2p/src/target_if_p2p.c b/target_if/p2p/src/target_if_p2p.c index 430a306a4eb4..5f03401c389c 100644 --- a/target_if/p2p/src/target_if_p2p.c +++ b/target_if/p2p/src/target_if_p2p.c @@ -52,10 +52,10 @@ static int target_p2p_lo_event_handler(ol_scn_t scn, uint8_t *data, struct wlan_lmac_if_p2p_rx_ops *p2p_rx_ops; QDF_STATUS status = QDF_STATUS_E_FAILURE; - target_if_debug("scn:%p, data:%p, datalen:%d", scn, data, datalen); + target_if_debug("scn:%pK, data:%pK, datalen:%d", scn, data, datalen); if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK", scn, data); return -EINVAL; } @@ -118,10 +118,10 @@ static int target_p2p_noa_event_handler(ol_scn_t scn, uint8_t *data, struct wlan_lmac_if_p2p_rx_ops *p2p_rx_ops; QDF_STATUS status = QDF_STATUS_E_FAILURE; - target_if_debug("scn:%p, data:%p, datalen:%d", scn, data, datalen); + target_if_debug("scn:%pK, data:%pK, datalen:%d", scn, data, datalen); if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK", scn, data); return -EINVAL; } @@ -169,7 +169,7 @@ QDF_STATUS target_if_p2p_register_lo_event_handler( int status; wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, arg:%p", psoc, arg); + target_if_debug("psoc:%pK, arg:%pK", psoc, arg); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -192,7 +192,7 @@ QDF_STATUS target_if_p2p_register_noa_event_handler( int status; wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, arg:%p", psoc, arg); + target_if_debug("psoc:%pK, arg:%pK", psoc, arg); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -215,7 +215,7 @@ QDF_STATUS target_if_p2p_unregister_lo_event_handler( int status; wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, arg:%p", psoc, arg); + target_if_debug("psoc:%pK, arg:%pK", psoc, arg); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -237,7 +237,7 @@ QDF_STATUS target_if_p2p_unregister_noa_event_handler( int status; wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, arg:%p", psoc, arg); + target_if_debug("psoc:%pK, arg:%pK", psoc, arg); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -260,7 +260,7 @@ QDF_STATUS target_if_p2p_set_ps(struct wlan_objmgr_psoc *psoc, QDF_STATUS status; wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, vdev_id:%d, opp_ps:%d", psoc, + target_if_debug("psoc:%pK, vdev_id:%d, opp_ps:%d", psoc, ps_config->vdev_id, ps_config->opp_ps); if (!wmi_handle) { @@ -301,7 +301,7 @@ QDF_STATUS target_if_p2p_lo_start(struct wlan_objmgr_psoc *psoc, { wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, vdev_id:%d", psoc, lo_start->vdev_id); + target_if_debug("psoc:%pK, vdev_id:%d", psoc, lo_start->vdev_id); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -321,7 +321,7 @@ QDF_STATUS target_if_p2p_lo_stop(struct wlan_objmgr_psoc *psoc, { wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc); - target_if_debug("psoc:%p, vdev_id:%d", psoc, vdev_id); + target_if_debug("psoc:%pK, vdev_id:%d", psoc, vdev_id); if (!wmi_handle) { target_if_err("Invalid wmi handle"); @@ -343,7 +343,7 @@ QDF_STATUS target_if_p2p_set_noa(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_E_INVAL; } - target_if_debug("psoc:%p, vdev_id:%d disable_noa:%d", + target_if_debug("psoc:%pK, vdev_id:%d disable_noa:%d", psoc, vdev_id, disable_noa); param.if_id = vdev_id; param.param_id = WMI_VDEV_PARAM_DISABLE_NOA_P2P_GO; diff --git a/target_if/scan/src/target_if_scan.c b/target_if/scan/src/target_if_scan.c index 4bb6d0bf597b..665d4f45af14 100644 --- a/target_if/scan/src/target_if_scan.c +++ b/target_if/scan/src/target_if_scan.c @@ -46,7 +46,7 @@ target_if_scan_event_handler(ol_scn_t scn, uint8_t *data, uint32_t datalen) QDF_STATUS status; if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p\n", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK\n", scn, data); return -EINVAL; } psoc = target_if_get_psoc_from_scn_hdl(scn); @@ -99,7 +99,7 @@ int target_if_nlo_complete_handler(ol_scn_t scn, uint8_t *data, QDF_STATUS status; if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK", scn, data); return -EINVAL; } @@ -149,7 +149,7 @@ int target_if_nlo_match_event_handler(ol_scn_t scn, uint8_t *data, QDF_STATUS status; if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK", scn, data); return -EINVAL; } diff --git a/target_if/tdls/src/target_if_tdls.c b/target_if/tdls/src/target_if_tdls.c index af4255be5d71..cff486f375ad 100644 --- a/target_if/tdls/src/target_if_tdls.c +++ b/target_if/tdls/src/target_if_tdls.c @@ -49,7 +49,7 @@ target_if_tdls_event_handler(ol_scn_t scn, uint8_t *data, uint32_t datalen) QDF_STATUS status; if (!scn || !data) { - target_if_err("scn: 0x%p, data: 0x%p", scn, data); + target_if_err("scn: 0x%pK, data: 0x%pK", scn, data); return -EINVAL; } psoc = target_if_get_psoc_from_scn_hdl(scn);