qcacmn: target_if: Replace instances of unadorned %p

Replace instances of unadorned %p in target_if.

Change-Id: I1c8a1b98be2d12fcf8e1fadf4a889268dfe37058
CRs-Fixed: 2111274
This commit is contained in:
Jeff Johnson
2017-09-18 10:09:05 -07:00
committed by snandini
parent 878533e29b
commit 9d1aa2cc25
4 changed files with 20 additions and 20 deletions

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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;
}

View File

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