forked from rubenslte/android_kernel_samsung_msm8226
wlan: sme: Replace instances of unadorned %p
Replace instances of unadorned %p in CORE/SME. Change-Id: I8176263cf21ec7281dd5ebbaecbe1c8568465a37 CRs-Fixed: 2111275
This commit is contained in:
committed by
Francescodario Cuzzocrea
parent
63d625a605
commit
cbb175fe2f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2014, 2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -1418,7 +1418,7 @@ sme_QosStatusType sme_QosInternalSetupReq(tpAniSirGlobal pMac,
|
||||
pentry->tspec_mask = pACInfo->tspec_mask_status;
|
||||
pentry->QoSInfo = Tspec_Info;
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLInsertTail(&sme_QosCb.flow_list, &pentry->link, VOS_TRUE);
|
||||
@@ -1748,7 +1748,7 @@ sme_QosStatusType sme_QosInternalSetupReq(tpAniSirGlobal pMac,
|
||||
pentry->tspec_mask = tmask;
|
||||
pentry->QoSInfo = Tspec_Info;
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLInsertTail(&sme_QosCb.flow_list, &pentry->link, VOS_TRUE);
|
||||
@@ -2009,7 +2009,7 @@ sme_QosStatusType sme_QosInternalModifyReq(tpAniSirGlobal pMac,
|
||||
flow_info->reason = SME_QOS_REASON_MODIFY;
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%s: %d: On session %d creating modified "
|
||||
"entry at %p with flowID %d",
|
||||
"entry at %pK with flowID %d",
|
||||
__func__, __LINE__,
|
||||
sessionId, pNewEntry, pNewEntry->QosFlowID);
|
||||
//add the new entry under construction to the Flow List
|
||||
@@ -2449,7 +2449,7 @@ sme_QosStatusType sme_QosInternalReleaseReq(tpAniSirGlobal pMac,
|
||||
pACInfo->requested_QoSInfo[flow_info->tspec_mask - 1];
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%s: %d: Deleting entry at %p with flowID %d",
|
||||
"%s: %d: Deleting entry at %pK with flowID %d",
|
||||
__func__, __LINE__,
|
||||
flow_info, QosFlowID);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -2494,7 +2494,7 @@ sme_QosStatusType sme_QosInternalReleaseReq(tpAniSirGlobal pMac,
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%s: %d: On session %d deleting entry at "
|
||||
"%p with flowID %d",
|
||||
"%pK with flowID %d",
|
||||
__func__, __LINE__,
|
||||
sessionId, flow_info, QosFlowID);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -2652,7 +2652,7 @@ sme_QosStatusType sme_QosInternalReleaseReq(tpAniSirGlobal pMac,
|
||||
flow_info->QosFlowID);
|
||||
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
}
|
||||
@@ -2702,7 +2702,7 @@ sme_QosStatusType sme_QosInternalReleaseReq(tpAniSirGlobal pMac,
|
||||
pACInfo->num_flows[flow_info->tspec_mask - 1]--;
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -3153,7 +3153,7 @@ eHalStatus sme_QosESEProcessReassocTspecRsp(tpAniSirGlobal pMac, v_U8_t sessionI
|
||||
}
|
||||
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_WARN,
|
||||
"TspecLen = %d, pbFrames = %p, pTspecIE = %p",
|
||||
"TspecLen = %d, pbFrames = %pK, pTspecIE = %pK",
|
||||
tspecIeLen, pCsrConnectedInfo->pbFrames, pTspecIE);
|
||||
|
||||
numTspec = (tspecIeLen)/sizeof(tDot11fIEWMMTSPEC);
|
||||
@@ -6242,7 +6242,7 @@ static eHalStatus sme_QosBufferExistingFlows(tpAniSirGlobal pMac,
|
||||
}
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -6293,7 +6293,7 @@ static eHalStatus sme_QosDeleteExistingFlows(tpAniSirGlobal pMac,
|
||||
flow_info->QosFlowID);
|
||||
}
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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
|
||||
@@ -6686,7 +6686,7 @@ eHalStatus sme_QosModifyFnp(tpAniSirGlobal pMac, tListElem *pEntry)
|
||||
case SME_QOS_REASON_MODIFY:
|
||||
//delete the original entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -6885,7 +6885,7 @@ eHalStatus sme_QosReassocSuccessEvFnp(tpAniSirGlobal pMac, tListElem *pEntry)
|
||||
{
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -6988,7 +6988,7 @@ eHalStatus sme_QosAddTsFailureFnp(tpAniSirGlobal pMac, tListElem *pEntry)
|
||||
}
|
||||
//delete the entry from Flow List
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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);
|
||||
csrLLRemoveEntry(&sme_QosCb.flow_list, pEntry, VOS_TRUE );
|
||||
@@ -7206,7 +7206,7 @@ eHalStatus sme_QosAddTsSuccessFnp(tpAniSirGlobal pMac, tListElem *pEntry)
|
||||
if(delete_entry)
|
||||
{
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO_HIGH,
|
||||
"%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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2013, 2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -239,7 +239,7 @@ static void sendQueuedReqToMacSw(tpAniSirGlobal pMac, tHddHandle hHdd)
|
||||
}
|
||||
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%p)"), req->done);
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%pK)"), req->done);
|
||||
#endif
|
||||
ccmComplete(hHdd, req->done);
|
||||
|
||||
@@ -382,12 +382,12 @@ static eHalStatus cfgSet(tHalHandle hHal, tANI_U32 cfgId, tANI_U32 type, tANI_S3
|
||||
if ((status == eHAL_STATUS_SUCCESS) && (sem != NULL))
|
||||
{
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOG1, FL("ccmWaitForCompletion(%p)"), req->done);
|
||||
smsLog(pMac, LOG1, FL("ccmWaitForCompletion(%pK)"), req->done);
|
||||
#endif
|
||||
ccmWaitForCompletion(hHdd, sem);
|
||||
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOG1, FL("free(%p)"), req->done);
|
||||
smsLog(pMac, LOG1, FL("free(%pK)"), req->done);
|
||||
#endif
|
||||
palSemaphoreFree( hHdd, sem ) ;
|
||||
}
|
||||
@@ -472,7 +472,7 @@ void ccmCfgCnfMsgHandler(tHalHandle hHal, void *m)
|
||||
|
||||
/* Wake up the sleeping process */
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%p)"), pMac->ccm.replay.done);
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%pK)"), pMac->ccm.replay.done);
|
||||
#endif
|
||||
ccmComplete(hHdd, pMac->ccm.replay.done);
|
||||
//Let go with the rest of the set CFGs waiting.
|
||||
@@ -517,7 +517,7 @@ void ccmCfgCnfMsgHandler(tHalHandle hHal, void *m)
|
||||
|
||||
/* Wake up the sleeping process */
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("cfgId=%ld, calling ccmComplete(%p)"), cfgId, req->done);
|
||||
smsLog(pMac, LOGW, FL("cfgId=%ld, calling ccmComplete(%pK)"), cfgId, req->done);
|
||||
#endif
|
||||
ccmComplete(hHdd, req->done);
|
||||
|
||||
@@ -545,7 +545,7 @@ void ccmCfgCnfMsgHandler(tHalHandle hHal, void *m)
|
||||
(int)cfgId, (int)result, req->cfgId, req->state);
|
||||
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%p)"), req->done);
|
||||
smsLog(pMac, LOGW, FL("ccmComplete(%pK)"), req->done);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -815,12 +815,12 @@ eHalStatus ccmCfgUpdate(tHalHandle hHal, tCcmCfgSetCallback callback)
|
||||
if (status == eHAL_STATUS_SUCCESS && pMac->ccm.replay.done)
|
||||
{
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("ccmWaitForCompletion(%p)"), pMac->ccm.replay.done);
|
||||
smsLog(pMac, LOGW, FL("ccmWaitForCompletion(%pK)"), pMac->ccm.replay.done);
|
||||
#endif
|
||||
ccmWaitForCompletion(hHdd, pMac->ccm.replay.done);
|
||||
|
||||
#ifdef CCM_DEBUG
|
||||
smsLog(pMac, LOGW, FL("free(%p)"), pMac->ccm.replay.done);
|
||||
smsLog(pMac, LOGW, FL("free(%pK)"), pMac->ccm.replay.done);
|
||||
#endif
|
||||
palSemaphoreFree( hHdd, pMac->ccm.replay.done) ;
|
||||
}
|
||||
|
||||
@@ -1063,7 +1063,7 @@ void csrAbortCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand, tANI_BOOLEAN fStop
|
||||
{
|
||||
case eSmeCommandScan:
|
||||
// We need to inform the requester before dropping the scan command
|
||||
smsLog( pMac, LOGW, "%s: Drop scan reason %d callback %p",
|
||||
smsLog( pMac, LOGW, "%s: Drop scan reason %d callback %pK",
|
||||
__func__, pCommand->u.scanCmd.reason,
|
||||
pCommand->u.scanCmd.callback);
|
||||
if (NULL != pCommand->u.scanCmd.callback)
|
||||
@@ -10484,7 +10484,7 @@ void csrRoamCheckForLinkStatusChange( tpAniSirGlobal pMac, tSirSmeRsp *pSirMsg )
|
||||
operationChannel,
|
||||
IS_HT40_OBSS_SCAN_FEATURE_ENABLE);
|
||||
smsLog( pMac, LOG1,FL("connectState %d"
|
||||
"pCurRoamProfile %p"),
|
||||
"pCurRoamProfile %pK"),
|
||||
pSession->connectState,
|
||||
pSession->pCurRoamProfile);
|
||||
}
|
||||
@@ -18261,7 +18261,7 @@ void csrGetStaticUapsdMask(tpAniSirGlobal pMac, tANI_U8 *staticUapsdMask)
|
||||
|
||||
if(!pSession || !pSession->pCurRoamProfile)
|
||||
smsLog(pMac, LOGE, FL("Either pSession or Roam profile is NULL,"
|
||||
" pSession:%p"), pSession);
|
||||
" pSession:%pK"), pSession);
|
||||
else
|
||||
*staticUapsdMask = pSession->pCurRoamProfile->uapsd_mask;
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ eHalStatus csrQueueScanRequest( tpAniSirGlobal pMac, tSmeCmd *pScanCmd )
|
||||
pChnInfo->numOfChannels = pScanCmd->u.scanCmd.u.scanRequest.ChannelInfo.numOfChannels - nNumChanCombinedConc;
|
||||
|
||||
VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_WARN,
|
||||
FL(" &channelToScan %p pScanCmd(%p) pScanCmd->u.scanCmd.u.scanRequest.ChannelInfo.ChannelList(%p)numChn(%d)"),
|
||||
FL(" &channelToScan %pK pScanCmd(%pK) pScanCmd->u.scanCmd.u.scanRequest.ChannelInfo.ChannelList(%pK)numChn(%d)"),
|
||||
&channelToScan[0], pScanCmd,
|
||||
pScanCmd->u.scanCmd.u.scanRequest.ChannelInfo.ChannelList, numChn);
|
||||
|
||||
|
||||
@@ -2591,7 +2591,7 @@ eHalStatus csrNeighborRoamIssueBgScanRequest(tpAniSirGlobal pMac,
|
||||
|
||||
vos_mem_free(scanReq.SSIDs.SSIDList);
|
||||
if (1 == pBgScanParams->ChannelInfo.numOfChannels)
|
||||
NEIGHBOR_ROAM_DEBUG(pMac, LOG1, FL("Channel List Address = %p, Actual index = %d"),
|
||||
NEIGHBOR_ROAM_DEBUG(pMac, LOG1, FL("Channel List Address = %pK, Actual index = %d"),
|
||||
&pMac->roam.neighborRoamInfo.roamChannelInfo.currentChannelListInfo.ChannelList[0],
|
||||
pMac->roam.neighborRoamInfo.roamChannelInfo.currentChanIndex);
|
||||
|
||||
@@ -2638,7 +2638,7 @@ eHalStatus csrNeighborRoamPerformBgScan(tpAniSirGlobal pMac, tANI_U32 sessionId)
|
||||
if ( pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.ChannelList &&
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.numOfChannels )
|
||||
{
|
||||
NEIGHBOR_ROAM_DEBUG(pMac, LOG1, FL("Channel List Address = %p"), &pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.ChannelList[0]);
|
||||
NEIGHBOR_ROAM_DEBUG(pMac, LOG1, FL("Channel List Address = %pK"), &pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.ChannelList[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -8726,7 +8726,7 @@ eHalStatus sme_8023MulticastList (tHalHandle hHal, tANI_U8 sessionId, tpSirRcvFl
|
||||
tCsrRoamSession *pSession = NULL;
|
||||
|
||||
VOS_TRACE( VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, "%s: "
|
||||
"ulMulticastAddrCnt=%d, multicastAddr[0]=%p", __func__,
|
||||
"ulMulticastAddrCnt=%d, multicastAddr[0]=%pK", __func__,
|
||||
pMulticastAddrs->ulMulticastAddrCnt,
|
||||
pMulticastAddrs->multicastAddr[0]);
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ void sme_SetFTIEs( tHalHandle hHal, tANI_U8 sessionId, const tANI_U8 *ft_ies,
|
||||
|
||||
// At this juncture we are ready to start sending Re-Assoc Req.
|
||||
#if defined WLAN_FEATURE_VOWIFI_11R_DEBUG
|
||||
smsLog( pMac, LOGE, "New Reassoc Req=%p in state %d",
|
||||
smsLog( pMac, LOGE, "New Reassoc Req=%pK in state %d",
|
||||
ft_ies, pMac->ft.ftSmeContext.FTState);
|
||||
#endif
|
||||
if ((pMac->ft.ftSmeContext.reassoc_ft_ies) &&
|
||||
@@ -473,7 +473,7 @@ void sme_FTReset(tHalHandle hHal)
|
||||
if (pMac->ft.ftSmeContext.auth_ft_ies != NULL)
|
||||
{
|
||||
#if defined WLAN_FEATURE_VOWIFI_11R_DEBUG
|
||||
smsLog( pMac, LOGE, FL(" Freeing FT Auth IE %p and setting to NULL"),
|
||||
smsLog( pMac, LOGE, FL(" Freeing FT Auth IE %pK and setting to NULL"),
|
||||
pMac->ft.ftSmeContext.auth_ft_ies);
|
||||
#endif
|
||||
vos_mem_free(pMac->ft.ftSmeContext.auth_ft_ies);
|
||||
@@ -484,7 +484,7 @@ void sme_FTReset(tHalHandle hHal)
|
||||
if (pMac->ft.ftSmeContext.reassoc_ft_ies != NULL)
|
||||
{
|
||||
#if defined WLAN_FEATURE_VOWIFI_11R_DEBUG
|
||||
smsLog( pMac, LOGE, FL(" Freeing FT Reassoc IE %p and setting to NULL"),
|
||||
smsLog( pMac, LOGE, FL(" Freeing FT Reassoc IE %pK and setting to NULL"),
|
||||
pMac->ft.ftSmeContext.auth_ft_ies);
|
||||
#endif
|
||||
vos_mem_free(pMac->ft.ftSmeContext.reassoc_ft_ies);
|
||||
@@ -495,7 +495,7 @@ void sme_FTReset(tHalHandle hHal)
|
||||
if (pMac->ft.ftSmeContext.psavedFTPreAuthRsp != NULL)
|
||||
{
|
||||
#if defined WLAN_FEATURE_VOWIFI_11R_DEBUG
|
||||
smsLog( pMac, LOGE, FL("Freeing FtPreAuthRsp %p and setting to NULL"),
|
||||
smsLog( pMac, LOGE, FL("Freeing FtPreAuthRsp %pK and setting to NULL"),
|
||||
pMac->ft.ftSmeContext.psavedFTPreAuthRsp);
|
||||
#endif
|
||||
vos_mem_free(pMac->ft.ftSmeContext.psavedFTPreAuthRsp);
|
||||
|
||||
Reference in New Issue
Block a user