summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2017-09-18 07:58:19 -0700
committersnandini <snandini@codeaurora.org>2017-09-18 23:58:21 -0700
commit85ce2a710f46311d9b21793f7efbd0fdf97587a2 (patch)
tree2e7d6bb863e803b2574dacc8493def94294c2893
parentad11305f8126158327be44ed6b565d4f1d942c3e (diff)
qcacld-3.0: sme: Replace instances of unadorned %p
Replace instances of unadorned %p in core/sme. Change-Id: I8176263cf21ec7281dd5ebbaecbe1c8568465a37 CRs-Fixed: 2100997
-rw-r--r--core/sme/src/common/sme_api.c2
-rw-r--r--core/sme/src/common/sme_ft_api.c2
-rw-r--r--core/sme/src/csr/csr_api_roam.c4
-rw-r--r--core/sme/src/csr/csr_api_scan.c2
-rw-r--r--core/sme/src/qos/sme_qos.c30
5 files changed, 20 insertions, 20 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 809f8340885e..c19a7635af94 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -7795,7 +7795,7 @@ QDF_STATUS sme_8023_multicast_list(tHalHandle hHal, uint8_t sessionId,
tCsrRoamSession *pSession = NULL;
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: ulMulticastAddrCnt: %d, multicastAddr[0]: %p", __func__,
+ "%s: ulMulticastAddrCnt: %d, multicastAddr[0]: %pK", __func__,
pMulticastAddrs->ulMulticastAddrCnt,
pMulticastAddrs->multicastAddr[0].bytes);
diff --git a/core/sme/src/common/sme_ft_api.c b/core/sme/src/common/sme_ft_api.c
index f97b2e4abfb8..8ffb81b62344 100644
--- a/core/sme/src/common/sme_ft_api.c
+++ b/core/sme/src/common/sme_ft_api.c
@@ -194,7 +194,7 @@ void sme_set_ft_ies(tHalHandle hal_ptr, uint32_t session_id,
* reassoc req. This is the new FT Roaming in place At
* this juncture we'r ready to start sending Reassoc req
*/
- sme_debug("New Reassoc Req: %p in state %d",
+ sme_debug("New Reassoc Req: %pK in state %d",
ft_ies, session->ftSmeContext.FTState);
if ((session->ftSmeContext.reassoc_ft_ies) &&
(session->ftSmeContext.reassoc_ft_ies_length)) {
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index e3daf7486a1c..03281b32f011 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -823,7 +823,7 @@ static void csr_add_social_channels(tpAniSirGlobal mac,
uint8_t i;
uint8_t no_chan = *num_chan;
- sme_debug("add social channels chan_list %p, num_chan %hu", chan_list,
+ sme_debug("add social channels chan_list %pK, num_chan %hu", chan_list,
*num_chan);
if (CSR_IS_5G_BAND_ONLY(mac)) {
for (i = 0; i < MAX_SOCIAL_CHANNELS; i++) {
@@ -1504,7 +1504,7 @@ void csr_abort_command(tpAniSirGlobal pMac, tSmeCmd *pCommand, bool fStopping)
/* We need to inform the requester before dropping
* the scan command
*/
- sme_debug("Drop scan reason %d callback %p",
+ sme_debug("Drop scan reason %d callback %pK",
pCommand->u.scanCmd.reason,
pCommand->u.scanCmd.callback);
if (NULL != pCommand->u.scanCmd.callback) {
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c
index 8c1e311bf8f3..1ce8298ada0d 100644
--- a/core/sme/src/csr/csr_api_scan.c
+++ b/core/sme/src/csr/csr_api_scan.c
@@ -5183,7 +5183,7 @@ QDF_STATUS csr_scan_sme_scan_response(tpAniSirGlobal pMac,
if (!pEntry)
goto error_handling;
- sme_debug("Scan completion called:scan_id %d, entry = %p",
+ sme_debug("Scan completion called:scan_id %d, entry = %pK",
pScanRsp->scan_id, pEntry);
pCommand = GET_BASE_ADDR(pEntry, tSmeCmd, Link);
diff --git a/core/sme/src/qos/sme_qos.c b/core/sme/src/qos/sme_qos.c
index 3b8de6359eab..4a833e62065f 100644
--- a/core/sme/src/qos/sme_qos.c
+++ b/core/sme/src/qos/sme_qos.c
@@ -1257,7 +1257,7 @@ static sme_QosStatusType sme_qos_internal_setup_req(tpAniSirGlobal pMac,
pentry->tspec_mask = pACInfo->tspec_mask_status;
pentry->QoSInfo = Tspec_Info;
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Creating entry on session %d at %p with flowID %d",
+ "%s: %d: Creating entry on session %d at %pK with flowID %d",
__func__, __LINE__,
sessionId, pentry, QosFlowID);
csr_ll_insert_tail(&sme_qos_cb.flow_list, &pentry->link,
@@ -1639,7 +1639,7 @@ static sme_QosStatusType sme_qos_internal_setup_req(tpAniSirGlobal pMac,
pentry->tspec_mask = tmask;
pentry->QoSInfo = Tspec_Info;
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: On session %d creating entry at %p with flowID %d",
+ "%s: %d: On session %d creating entry at %pK with flowID %d",
__func__, __LINE__,
sessionId, pentry, QosFlowID);
csr_ll_insert_tail(&sme_qos_cb.flow_list, &pentry->link,
@@ -1861,7 +1861,7 @@ static sme_QosStatusType sme_qos_internal_modify_req(tpAniSirGlobal pMac,
*/
flow_info->reason = SME_QOS_REASON_MODIFY;
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: On session %d creating modified entry at %p with flowID %d",
+ "%s: %d: On session %d creating modified entry at %pK with flowID %d",
__func__, __LINE__,
sessionId, pNewEntry, pNewEntry->QosFlowID);
/* add the new entry under construction to the Flow List */
@@ -2367,7 +2367,7 @@ static sme_QosStatusType sme_qos_internal_release_req(tpAniSirGlobal pMac,
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME,
QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Deleting entry at %p with flowID %d",
+ "%s: %d: Deleting entry at %pK with flowID %d",
__func__, __LINE__, flow_info,
QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.
@@ -2430,7 +2430,7 @@ static sme_QosStatusType sme_qos_internal_release_req(tpAniSirGlobal pMac,
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME,
QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: On session %d deleting entry at %p with flowID %d",
+ "%s: %d: On session %d deleting entry at %pK with flowID %d",
__func__, __LINE__, sessionId,
flow_info, QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.
@@ -2626,7 +2626,7 @@ static sme_QosStatusType sme_qos_internal_release_req(tpAniSirGlobal pMac,
QDF_TRACE(QDF_MODULE_ID_SME,
QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Deleting entry at %p with flowID %d",
+ "%s: %d: Deleting entry at %pK with flowID %d",
__func__, __LINE__, flow_info,
flow_info->QosFlowID);
} else if (buffered_cmd) {
@@ -2673,7 +2673,7 @@ static sme_QosStatusType sme_qos_internal_release_req(tpAniSirGlobal pMac,
pACInfo->num_flows[flow_info->tspec_mask - 1]--;
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: On session %d deleting entry at %p with flowID %d",
+ "%s: %d: On session %d deleting entry at %pK with flowID %d",
__func__, __LINE__,
sessionId, flow_info, QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry,
@@ -3100,7 +3100,7 @@ QDF_STATUS sme_qos_ese_process_reassoc_tspec_rsp(tpAniSirGlobal pMac,
}
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_WARN,
- "TspecLen = %d, pbFrames = %p, pTspecIE = %p",
+ "TspecLen = %d, pbFrames = %pK, pTspecIE = %pK",
tspecIeLen, pCsrConnectedInfo->pbFrames, pTspecIE);
numTspec = (tspecIeLen) / sizeof(tDot11fIEWMMTSPEC);
@@ -3284,7 +3284,7 @@ QDF_STATUS sme_qos_create_tspec_ricie(tpAniSirGlobal pMac,
if (pRICBuffer == NULL || pRICIdentifier == NULL || pRICLength ==
NULL) {
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
- FL("RIC data is NULL, %p, %p, %p"),
+ FL("RIC data is NULL, %pK, %pK, %pK"),
pRICBuffer, pRICIdentifier, pRICLength);
return QDF_STATUS_E_FAILURE;
}
@@ -6352,7 +6352,7 @@ static QDF_STATUS sme_qos_buffer_existing_flows(tpAniSirGlobal mac_ctx,
}
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- FL("Deleting original entry at %p with flowID %d"),
+ FL("Deleting original entry at %pK with flowID %d"),
flow_info, flow_info->QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.flow_list, list_entry, true);
qdf_mem_free(flow_info);
@@ -6399,7 +6399,7 @@ static QDF_STATUS sme_qos_delete_existing_flows(tpAniSirGlobal pMac,
flow_info->QosFlowID);
}
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Deleting entry at %p with flowID %d",
+ "%s: %d: Deleting entry at %pK with flowID %d",
__func__, __LINE__,
flow_info, flow_info->QosFlowID);
/* delete the entry from Flow List */
@@ -6769,7 +6769,7 @@ static QDF_STATUS sme_qos_modify_fnp(tpAniSirGlobal pMac, tListElem *pEntry)
case SME_QOS_REASON_MODIFY:
/* delete the original entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Deleting original entry at %p with flowID %d",
+ "%s: %d: Deleting original entry at %pK with flowID %d",
__func__, __LINE__, flow_info, flow_info->QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry, true);
/* reclaim the memory */
@@ -6955,7 +6955,7 @@ sme_qos_reassoc_success_ev_fnp(tpAniSirGlobal mac_ctx,
} else {
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- FL("Deleting entry at %p with flowID %d"),
+ FL("Deleting entry at %pK with flowID %d"),
flow_info, flow_info->QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.flow_list, entry, true);
/* reclaim the memory */
@@ -7040,7 +7040,7 @@ static QDF_STATUS sme_qos_add_ts_failure_fnp(tpAniSirGlobal pMac, tListElem
}
/* delete the entry from Flow List */
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- "%s: %d: Deleting entry at %p with flowID %d",
+ "%s: %d: Deleting entry at %pK with flowID %d",
__func__, __LINE__, flow_info, flow_info->QosFlowID);
csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry, true);
/* reclaim the memory */
@@ -7220,7 +7220,7 @@ static QDF_STATUS sme_qos_add_ts_success_fnp(tpAniSirGlobal mac_ctx,
}
if (delete_entry) {
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
- FL("Deleting entry at %p with flowID %d"),
+ FL("Deleting entry at %pK with flowID %d"),
flow_info, flow_info->QosFlowID);
/* delete the entry from Flow List */
csr_ll_remove_entry(&sme_qos_cb.flow_list, entry, true);