wlan: sap: Replace instances of unadorned %p
Replace instances of unadorned %p in CORE/SAP.
Change-Id: I37a803518430313d360d10e429469fa7bb471b78
CRs-Fixed: 2111275
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c
index dda7fa1..58f650b 100644
--- a/CORE/SAP/src/sapChSelect.c
+++ b/CORE/SAP/src/sapChSelect.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014, 2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2014, 2016-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -1628,7 +1628,7 @@
}
VOS_TRACE(VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_INFO_HIGH,
- "In %s, bssdes.ch_self=%d, bssdes.ch_ID=%d, bssdes.rssi=%d, SpectCh.bssCount=%d, pScanResult=%p, ChannelWidth %d, secondaryChanOffset %d, center frequency %d ",
+ "In %s, bssdes.ch_self=%d, bssdes.ch_ID=%d, bssdes.rssi=%d, SpectCh.bssCount=%d, pScanResult=%pK, ChannelWidth %d, secondaryChanOffset %d, center frequency %d ",
__func__, pScanResult->BssDescriptor.channelIdSelf, pScanResult->BssDescriptor.channelId, pScanResult->BssDescriptor.rssi, pSpectCh->bssCount, pScanResult,pSpectCh->channelWidth,secondaryChannelOffset,centerFreq);
pSpectCh++;
break;
diff --git a/CORE/SAP/src/sapModule.c b/CORE/SAP/src/sapModule.c
index e8171b1..3b1749c 100644
--- a/CORE/SAP/src/sapModule.c
+++ b/CORE/SAP/src/sapModule.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -452,7 +452,7 @@
pSapCtx->sapsMachine= eSAP_DISCONNECTED;
- VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: Initializing State: %d, sapContext value = %p",
+ VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: Initializing State: %d, sapContext value = %pK",
__func__, pSapCtx->sapsMachine, pSapCtx);
pSapCtx->sessionId = 0;
pSapCtx->channel = 0;
@@ -2140,7 +2140,7 @@
if( ( NULL == hHal ) || ( eSAP_TRUE != pSapCtx->isSapSessionOpen ) )
{
VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_ERROR,
- "%s: HAL pointer (%p) NULL OR SME session is not open (%d)",
+ "%s: HAL pointer (%pK) NULL OR SME session is not open (%d)",
__func__, hHal, pSapCtx->isSapSessionOpen );
return VOS_STATUS_E_FAULT;
}
@@ -2208,7 +2208,7 @@
if( ( NULL == hHal ) || ( eSAP_TRUE != pSapCtx->isSapSessionOpen ) )
{
VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_ERROR,
- "%s: HAL pointer (%p) NULL OR SME session is not open (%d)",
+ "%s: HAL pointer (%pK) NULL OR SME session is not open (%d)",
__func__, hHal, pSapCtx->isSapSessionOpen );
return VOS_STATUS_E_FAULT;
}
@@ -2267,7 +2267,7 @@
if ((NULL == hHal) || (eSAP_TRUE != pSapCtx->isSapSessionOpen))
{
VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_ERROR,
- "%s: HAL pointer (%p) NULL OR SME session is not open (%d)",
+ "%s: HAL pointer (%pK) NULL OR SME session is not open (%d)",
__func__, hHal, pSapCtx->isSapSessionOpen );
return VOS_STATUS_E_FAULT;
}
@@ -2329,7 +2329,7 @@
if( ( NULL == hHal ) || ( eSAP_TRUE != pSapCtx->isSapSessionOpen ) )
{
VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_ERROR,
- "%s: HAL pointer (%p) NULL OR SME session is not open (%d)",
+ "%s: HAL pointer (%pK) NULL OR SME session is not open (%d)",
__func__, hHal, pSapCtx->isSapSessionOpen );
return VOS_STATUS_E_FAULT;
}
@@ -2394,7 +2394,7 @@
if( ( NULL == hHal ) || ( eSAP_TRUE != pSapCtx->isSapSessionOpen ) )
{
VOS_TRACE( VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_ERROR,
- "%s: HAL pointer (%p) NULL OR SME session is not open (%d)",
+ "%s: HAL pointer (%pK) NULL OR SME session is not open (%d)",
__func__, hHal, pSapCtx->isSapSessionOpen );
return VOS_STATUS_E_FAULT;
}