diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiData.c b/drivers/staging/prima/CORE/BAP/src/bapApiData.c index 1a1e67dbc27f..e7ba26676e61 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiData.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiData.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2015, 2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -1013,7 +1013,7 @@ WLANBAP_TxCompCB #ifdef BAP_DEBUG /* Trace the bapContext referenced. */ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN BAP Context Monitor: bapContext value = %p in %s:%d. vosDataBuff=%p", bapContext, __func__, __LINE__, vosDataBuff ); + "WLAN BAP Context Monitor: bapContext value = %pK in %s:%d. vosDataBuff=%pK", bapContext, __func__, __LINE__, vosDataBuff ); #endif //BAP_DEBUG // Sanity check the log_link_handle value @@ -1164,7 +1164,7 @@ WLANBAP_STAPktPending #ifdef BAP_DEBUG /* Trace the tBtampCtx being passed in. */ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN BAP Context Monitor: pBtampCtx value = %p in %s:%d", pBtampCtx, __func__, __LINE__ ); + "WLAN BAP Context Monitor: pBtampCtx value = %pK in %s:%d", pBtampCtx, __func__, __LINE__ ); #endif //BAP_DEBUG /*------------------------------------------------------------------------ diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiHCBB.c b/drivers/staging/prima/CORE/BAP/src/bapApiHCBB.c index 7fc780050516..58c14687f888 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiHCBB.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiHCBB.c @@ -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. * @@ -144,7 +144,7 @@ WLAN_BAPReset tHalHandle hHal = NULL; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if (btampHandle == NULL) @@ -291,7 +291,7 @@ WLAN_BAPFlush ptBtampContext btampContext = (ptBtampContext) btampHandle; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if (btampHandle == NULL) { @@ -364,7 +364,7 @@ WLAN_EnhancedBAPFlush ptBtampContext btampContext; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ /* Validate params */ @@ -444,7 +444,7 @@ WLAN_BAPReadConnectionAcceptTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -513,7 +513,7 @@ WLAN_BAPWriteConnectionAcceptTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIWriteConnectionAcceptTimeout) @@ -604,7 +604,7 @@ WLAN_BAPReadLinkSupervisionTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIReadLinkSupervisionTimeout) || @@ -696,7 +696,7 @@ WLAN_BAPWriteLinkSupervisionTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIWriteLinkSupervisionTimeout) || @@ -788,7 +788,7 @@ WLAN_BAPReadLogicalLinkAcceptTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -857,7 +857,7 @@ WLAN_BAPWriteLogicalLinkAcceptTimeout /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIWriteLogicalLinkAcceptTimeout) @@ -945,7 +945,7 @@ WLAN_BAPSetEventMaskPage2 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCISetEventMaskPage2) @@ -1020,7 +1020,7 @@ WLAN_BAPReadLocationData /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -1102,7 +1102,7 @@ WLAN_BAPWriteLocationData /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIWriteLocationData) @@ -1183,7 +1183,7 @@ WLAN_BAPReadFlowControlMode /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -1388,7 +1388,7 @@ WLAN_BAPSetShortRangeMode /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -1529,7 +1529,7 @@ WLAN_BAPVendorSpecificCmd0 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) @@ -1629,7 +1629,7 @@ WLAN_BAPVendorSpecificCmd1 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIEvent)) diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiInfo.c b/drivers/staging/prima/CORE/BAP/src/bapApiInfo.c index 0463c4858f8d..d2bc3c042c42 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiInfo.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiInfo.c @@ -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. * @@ -153,7 +153,7 @@ WLAN_BAPReadLocalVersionInfo } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Format the command complete event to return... */ @@ -229,7 +229,7 @@ WLAN_BAPReadLocalSupportedCmds } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Format the command complete event to return... */ @@ -295,7 +295,7 @@ WLAN_BAPReadBufferSize } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Format the command complete event to return... */ @@ -365,7 +365,7 @@ WLAN_BAPReadDataBlockSize } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Format the command complete event to return... */ @@ -526,7 +526,7 @@ WLAN_BAPDisconnect VOS_STATUS vosStatus; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_FATAL, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_FATAL, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if (btampHandle == NULL) @@ -592,7 +592,7 @@ v_BOOL_t WLAN_BAPSessionOn ptBtampContext btampContext = (ptBtampContext) btampHandle; /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if (btampHandle == NULL) diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiLinkCntl.c b/drivers/staging/prima/CORE/BAP/src/bapApiLinkCntl.c index e8efab2f2724..bbf53b25f9ec 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiLinkCntl.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiLinkCntl.c @@ -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. * @@ -865,12 +865,12 @@ WLAN_BAPPhysicalLinkCreate /* Validate params */ if ((pBapHCIPhysLinkCreate == NULL) || (NULL == btampContext)) { - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: btampHandle value: %p, pBapHCIPhysLinkCreate is %p", + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: btampHandle value: %pK, pBapHCIPhysLinkCreate is %pK", __func__, btampHandle, pBapHCIPhysLinkCreate); return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); if(DISCONNECTED != instanceVar->stateVar) { @@ -896,7 +896,7 @@ WLAN_BAPPhysicalLinkCreate &btampContext, /* Handle to return per assoc btampContext value in */ BT_INITIATOR); /* BT_INITIATOR */ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %p", __func__, btampContext); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %pK", __func__, btampContext); /* Handle event */ vosStatus = btampFsm(btampContext, &bapEvent, &status); @@ -968,12 +968,12 @@ WLAN_BAPPhysicalLinkAccept /* Validate params */ if ((pBapHCIPhysLinkAccept == NULL) || (NULL == btampContext)) { - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: btampHandle value: %p, pBapHCIPhysLinkAccept is %p", + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: btampHandle value: %pK, pBapHCIPhysLinkAccept is %pK", __func__, btampHandle, pBapHCIPhysLinkAccept); return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); instanceVar = &(btampContext->bapPhysLinkMachine); if(DISCONNECTED != instanceVar->stateVar) @@ -1000,7 +1000,7 @@ WLAN_BAPPhysicalLinkAccept &btampContext, /* Handle to return per assoc btampContext value in */ BT_RESPONDER); /* BT_RESPONDER */ - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %p", __func__, btampContext); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %pK", __func__, btampContext); /* Handle event */ vosStatus = btampFsm(btampContext, &bapEvent, &status); @@ -1070,7 +1070,7 @@ WLAN_BAPPhysicalLinkDisconnect return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate the Physical link handle */ if (pBapHCIPhysLinkDisconnect->phy_link_handle != btampContext->phy_link_handle) @@ -1089,7 +1089,7 @@ WLAN_BAPPhysicalLinkDisconnect bapEvent.event = eWLAN_BAP_HCI_PHYSICAL_LINK_DISCONNECT; bapEvent.params = pBapHCIPhysLinkDisconnect; - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %p", __func__, btampContext); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %pK", __func__, btampContext); /* Handle event */ vosStatus = btampFsm(btampContext, &bapEvent, &status); @@ -1175,7 +1175,7 @@ WLAN_BAPLogicalLinkCreate } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate the BAP state to accept the logical link request Logical Link create/accept requests are allowed only in @@ -1365,7 +1365,7 @@ WLAN_BAPLogicalLinkAccept } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate the BAP state to accept the logical link request Logical Link create/accept requests are allowed only in @@ -1573,7 +1573,7 @@ WLAN_BAPLogicalLinkDisconnect #ifdef BAP_DEBUG /* Trace the tBtampCtx being passed in. */ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN BAP Context Monitor: btampContext value = %p in %s:%d", btampContext, __func__, __LINE__ ); + "WLAN BAP Context Monitor: btampContext value = %pK in %s:%d", btampContext, __func__, __LINE__ ); #endif //BAP_DEBUG bapHCIEvent.bapHCIEventCode = BTAMP_TLV_HCI_COMMAND_STATUS_EVENT; diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiLinkSupervision.c b/drivers/staging/prima/CORE/BAP/src/bapApiLinkSupervision.c index 0dcd4c29a65e..c2d08b69a846 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiLinkSupervision.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiLinkSupervision.c @@ -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. * @@ -520,7 +520,7 @@ static VOS_STATUS WLANBAP_TxLinkSupervisionCB } } VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, - "%s:Returned Vos Packet:%p\n", __func__, pPacket ); + "%s:Returned Vos Packet:%pK\n", __func__, pPacket ); vos_pkt_return_packet( pPacket ); diff --git a/drivers/staging/prima/CORE/BAP/src/bapApiStatus.c b/drivers/staging/prima/CORE/BAP/src/bapApiStatus.c index 27bb5dfd5bd5..16b96fbd8ed0 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapApiStatus.c +++ b/drivers/staging/prima/CORE/BAP/src/bapApiStatus.c @@ -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. * @@ -246,7 +246,7 @@ WLAN_BAPReadLinkQuality /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIReadLinkQuality) || @@ -343,7 +343,7 @@ WLAN_BAPReadRSSI /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: btampHandle value: %p", __func__, btampHandle); + "%s: btampHandle value: %pK", __func__, btampHandle); /* Validate params */ if ((NULL == btampHandle) || (NULL == pBapHCIReadRSSI) || @@ -452,7 +452,7 @@ WLAN_BAPReadLocalAMPInfo return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Format the command complete event to return... */ @@ -564,7 +564,7 @@ WLAN_BAPReadLocalAMPAssoc return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "In %s, phy_link_handle = %d", __func__, @@ -801,13 +801,13 @@ WLAN_BAPWriteRemoteAMPAssoc return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %p", __func__, btampHandle); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampHandle value: %pK", __func__, btampHandle); /* Fill in the event structure */ bapEvent.event = eWLAN_BAP_HCI_WRITE_REMOTE_AMP_ASSOC; bapEvent.params = pBapHCIWriteRemoteAMPAssoc; - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %p", __func__, btampContext); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %pK", __func__, btampContext); /* Handle event */ vosStatus = btampFsm(btampContext, &bapEvent, &status); diff --git a/drivers/staging/prima/CORE/BAP/src/bapModule.c b/drivers/staging/prima/CORE/BAP/src/bapModule.c index 5cda7f5ac0be..dd0ab7e18150 100644 --- a/drivers/staging/prima/CORE/BAP/src/bapModule.c +++ b/drivers/staging/prima/CORE/BAP/src/bapModule.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013, 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2013, 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -963,7 +963,7 @@ WLANBAP_CreateNewPhyLinkCtx *hBtampContext = pBtampCtx; VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, - "Btamp Ctxt = %p", pBtampCtx); + "Btamp Ctxt = %pK", pBtampCtx); return VOS_STATUS_SUCCESS; #else // defined(BTAMP_MULTIPLE_PHY_LINKS) @@ -1098,7 +1098,7 @@ WLANBAP_CreateNewLogLinkCtx #ifdef BAP_DEBUG /* Trace the tBtampCtx being passed in. */ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN BAP Context Monitor: pBtampContext value = %p in %s:%d", pBtampContext, __func__, __LINE__ ); + "WLAN BAP Context Monitor: pBtampContext value = %pK in %s:%d", pBtampContext, __func__, __LINE__ ); #endif //BAP_DEBUG /*------------------------------------------------------------------------ diff --git a/drivers/staging/prima/CORE/BAP/src/btampFsm.c b/drivers/staging/prima/CORE/BAP/src/btampFsm.c index 183a7a255200..0e1c6f022526 100644 --- a/drivers/staging/prima/CORE/BAP/src/btampFsm.c +++ b/drivers/staging/prima/CORE/BAP/src/btampFsm.c @@ -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. * @@ -191,7 +191,7 @@ bapSetKey( v_PVOID_t pvosGCtx, tCsrRoamSetKey *pSetKeyInfo ) return VOS_STATUS_E_FAULT; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %p", __func__, btampContext); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: btampContext value: %pK", __func__, btampContext); /* Fill in the event structure */ bapEvent.event = eWLAN_BAP_RSN_SUCCESS; @@ -1398,7 +1398,7 @@ signalHCIPhysLinkDiscEvent #ifdef BAP_DEBUG /* Trace the tBtampCtx being passed in. */ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN BAP Context Monitor: btampContext value = %p in %s:%d", btampContext, __func__, __LINE__ ); + "WLAN BAP Context Monitor: btampContext value = %pK in %s:%d", btampContext, __func__, __LINE__ ); #endif //BAP_DEBUG /* Loop disconnecting all Logical Links on this Physical Link */ diff --git a/drivers/staging/prima/CORE/DXE/src/wlan_qct_dxe.c b/drivers/staging/prima/CORE/DXE/src/wlan_qct_dxe.c index de64b93c89e3..6d87f2a91a15 100644 --- a/drivers/staging/prima/CORE/DXE/src/wlan_qct_dxe.c +++ b/drivers/staging/prima/CORE/DXE/src/wlan_qct_dxe.c @@ -955,7 +955,7 @@ static wpt_status dxeDescAllocAndLink } memset((wpt_uint8 *)currentDesc, 0, sizeof(WLANDXE_DescType)); HDXE_MSG(eWLAN_MODULE_DAL_DATA, eWLAN_PAL_TRACE_LEVEL_INFO_LOW, - "Allocated Descriptor VA %p, PA %p", currentDesc, physAddressAlloc); + "Allocated Descriptor VA %pK, PA %pK", currentDesc, physAddressAlloc); currentCtrlBlk->linkedDesc = currentDesc; currentCtrlBlk->linkedDescPhyAddr = physAddress; diff --git a/drivers/staging/prima/CORE/HDD/src/bap_hdd_main.c b/drivers/staging/prima/CORE/HDD/src/bap_hdd_main.c index af48daba32e0..aa6e3b7936bb 100644 --- a/drivers/staging/prima/CORE/HDD/src/bap_hdd_main.c +++ b/drivers/staging/prima/CORE/HDD/src/bap_hdd_main.c @@ -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. * @@ -484,7 +484,7 @@ static VOS_STATUS WLANBAP_STAFetchPktCB return VosStatus; } - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: pVosPkt(vos_pkt_t *)=%p", __func__, + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: pVosPkt(vos_pkt_t *)=%pK", __func__, pVosPkt ); VosStatus = WLANBAP_XlateTxDataPkt( pctx->bapHdl, pPhyCtx->PhyLinkHdl, @@ -508,7 +508,7 @@ static VOS_STATUS WLANBAP_STAFetchPktCB // provide the meta-info BAP provided previously *tlMetaInfo = TlMetaInfo; - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: *vosDataBuff(vos_pkt_t *)=%p", __func__, *vosDataBuff ); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: *vosDataBuff(vos_pkt_t *)=%pK", __func__, *vosDataBuff ); return(VOS_STATUS_SUCCESS); } // WLANBAP_STAFetchPktCB() @@ -665,7 +665,7 @@ static VOS_STATUS WLANBAP_TxCompCB BslClientCtxType* ppctx; static int num_packets; - VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "WLANBAP_TxCompCB. vosDataBuff(vos_pkt_t *)=%p", vosDataBuff ); + VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "WLANBAP_TxCompCB. vosDataBuff(vos_pkt_t *)=%pK", vosDataBuff ); // be aware that pHddHdl can be NULL or can point to the per association // BSL context from the register data plane. In either case it does not @@ -4128,7 +4128,7 @@ static int BSL_Write(struct sk_buff *skb) case HCI_ACLDATA_PKT: // Directly execute the data write VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: HCI ACL data tx, skb=%p", + "%s: HCI ACL data tx, skb=%pK", __func__, skb); // ACL data hdev->stat.acl_tx++; @@ -4168,7 +4168,7 @@ static int BSL_Write(struct sk_buff *skb) bslWriteFinish); VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: Scheduling work for skb %p, BT-AMP Client context %p, work %p", + "%s: Scheduling work for skb %pK, BT-AMP Client context %pK, work %pK", __func__, skb, pctx, pHciContext); status = schedule_work(&pHciContext->hciInterfaceProcessing); @@ -4232,7 +4232,7 @@ static void bslWriteFinish(struct work_struct *work) v_SIZE_t written = 0; VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_LOW, - "%s: Entered, context %p", + "%s: Entered, context %pK", __func__, pctx); // Sanity check inputs @@ -4299,7 +4299,7 @@ static void bslWriteFinish(struct work_struct *work) }; VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: Freeing skb %p", + "%s: Freeing skb %pK", __func__, skb); consume_skb(skb); diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c index b7a01f1906a1..3369280e91cc 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c @@ -537,7 +537,7 @@ static void hdd_SendNewAPChannelInfo(struct net_device *dev, hdd_adapter_t *pAda if (descriptor == NULL) { hddLog(LOGE, - "%s: pCsrRoamInfo->pBssDesc=%p", + "%s: pCsrRoamInfo->pBssDesc=%pK", __func__, descriptor); return; } @@ -3211,7 +3211,7 @@ void iw_full_power_cbfn (void *pContext, eHalStatus status) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pAdapter [%p]", + "%s: Bad param, pAdapter [%pK]", __func__, pAdapter); return; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c index 1c904238caa4..8132a1475a1b 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -12697,7 +12697,7 @@ static eHalStatus hdd_cfg80211_scan_done_callback(tHalHandle halHandle, pScanInfo = &pHddCtx->scan_info; hddLog(VOS_TRACE_LEVEL_INFO, - "%s called with halHandle = %p, pContext = %p," + "%s called with halHandle = %pK, pContext = %pK," "scanID = %d, returned status = %d", __func__, halHandle, pContext, (int) scanId, (int) status); @@ -12890,7 +12890,7 @@ v_BOOL_t hdd_isConnectionInProgress(hdd_context_t *pHddCtx, v_U8_t *session_id, (WLAN_HDD_GET_STATION_CTX_PTR(pAdapter))->conn_info.connState)) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: %p(%d) Connection is in progress", __func__, + "%s: %pK(%d) Connection is in progress", __func__, WLAN_HDD_GET_STATION_CTX_PTR(pAdapter), pAdapter->sessionId); if (session_id && reason) { @@ -12903,7 +12903,7 @@ v_BOOL_t hdd_isConnectionInProgress(hdd_context_t *pHddCtx, v_U8_t *session_id, smeNeighborMiddleOfRoaming(WLAN_HDD_GET_HAL_CTX(pAdapter))) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: %p(%d) Reassociation is in progress", __func__, + "%s: %pK(%d) Reassociation is in progress", __func__, WLAN_HDD_GET_STATION_CTX_PTR(pAdapter), pAdapter->sessionId); if (session_id && reason) { @@ -16672,7 +16672,7 @@ static int __wlan_hdd_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device } if (!pmksa->bssid || !pmksa->pmkid) { - hddLog(LOGE, FL("pmksa->bssid(%p) or pmksa->pmkid(%p) is NULL"), + hddLog(LOGE, FL("pmksa->bssid(%pK) or pmksa->pmkid(%pK) is NULL"), pmksa->bssid, pmksa->pmkid); return -EINVAL; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_dev_pwr.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_dev_pwr.c index 275eeaf6d3e8..a98d736bd6bc 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_dev_pwr.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_dev_pwr.c @@ -584,7 +584,7 @@ void hddDevTmTxBlockTimeoutHandler(void *usrData) if ((NULL == staAdapater) || (WLAN_HDD_ADAPTER_MAGIC != staAdapater->magic)) { VOS_TRACE(VOS_MODULE_ID_HDD,VOS_TRACE_LEVEL_ERROR, - FL("invalid Adapter %p"), staAdapater); + FL("invalid Adapter %pK"), staAdapater); VOS_ASSERT(0); return; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c index ffe7cbae158b..ce602d8ed4b8 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c @@ -651,7 +651,7 @@ void hdd_hostapd_inactivity_timer_cb(v_PVOID_t usrDataForCallback) if ((NULL == pHostapdAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pHostapdAdapter->magic)) { - hddLog(LOGE, FL("invalid adapter: %p"), pHostapdAdapter); + hddLog(LOGE, FL("invalid adapter: %pK"), pHostapdAdapter); return; } pHddCtx = WLAN_HDD_GET_CTX(pHostapdAdapter); @@ -4931,7 +4931,7 @@ void hdd_sap_indicate_disconnect_for_sta(hdd_adapter_t *adapter) for (staId = 0; staId < WLAN_MAX_STA_COUNT; staId++) { if (sap_ctx->aStaInfo[staId].isUsed) { - hddLog(LOG1, FL("staId: %d isUsed: %d %p"), + hddLog(LOG1, FL("staId: %d isUsed: %d %pK"), staId, sap_ctx->aStaInfo[staId].isUsed, sap_ctx); diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c index 49647877fb44..b71e602bee2b 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c @@ -1745,7 +1745,7 @@ static void hdd_batch_scan_result_ind_callback if ((NULL == pBatchScanRsp) || (NULL == pReq)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: pBatchScanRsp is %p pReq %p", __func__, pBatchScanRsp, pReq); + "%s: pBatchScanRsp is %pK pReq %pK", __func__, pBatchScanRsp, pReq); isLastAp = TRUE; goto done; } @@ -1769,7 +1769,7 @@ static void hdd_batch_scan_result_ind_callback if (NULL == pScanList) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: pScanList is %p", __func__, pScanList); + "%s: pScanList is %pK", __func__, pScanList); isLastAp = TRUE; goto done; } @@ -1796,7 +1796,7 @@ static void hdd_batch_scan_result_ind_callback if (NULL == pApMetaInfo) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: pApMetaInfo is %p", __func__, pApMetaInfo); + "%s: pApMetaInfo is %pK", __func__, pApMetaInfo); isLastAp = TRUE; goto done; } @@ -6267,7 +6267,7 @@ static void hdd_GetTsmStatsCB( tAniTrafStrmMetrics tsmMetrics, const tANI_U32 st if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -6285,7 +6285,7 @@ static void hdd_GetTsmStatsCB( tAniTrafStrmMetrics tsmMetrics, const tANI_U32 st /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); return; } @@ -8535,7 +8535,7 @@ void hdd_monPostMsgCb(tANI_U32 *magic, struct completion *cmpVar) { if (magic == NULL || cmpVar == NULL) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("invalid arguments %p %p"), magic, cmpVar); + FL("invalid arguments %pK %pK"), magic, cmpVar); return; } if (*magic != MON_MODE_MSG_MAGIC) { @@ -10302,12 +10302,12 @@ static void hdd_full_power_callback(void *callbackContext, eHalStatus status) struct statsContext *pContext = callbackContext; hddLog(VOS_TRACE_LEVEL_INFO, - "%s: context = %p, status = %d", __func__, pContext, status); + "%s: context = %pK, status = %d", __func__, pContext, status); if (NULL == callbackContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, context [%p]", + "%s: Bad param, context [%pK]", __func__, callbackContext); return; } @@ -13160,7 +13160,7 @@ VOS_STATUS hdd_softap_sta_deauth(hdd_adapter_t *pAdapter, ENTER(); - hddLog(LOG1, "hdd_softap_sta_deauth:(%p, false)", + hddLog(LOG1, "hdd_softap_sta_deauth:(%pK, false)", (WLAN_HDD_GET_CTX(pAdapter))->pvosContext); //Ignore request to deauth bcmc station @@ -13248,7 +13248,7 @@ void hdd_softap_sta_disassoc(hdd_adapter_t *pAdapter,v_U8_t *pDestMacAddress) ENTER(); - hddLog( LOGE, "hdd_softap_sta_disassoc:(%p, false)", (WLAN_HDD_GET_CTX(pAdapter))->pvosContext); + hddLog( LOGE, "hdd_softap_sta_disassoc:(%pK, false)", (WLAN_HDD_GET_CTX(pAdapter))->pvosContext); //Ignore request to disassoc bcmc station if( pDestMacAddress[0] & 0x1 ) @@ -13263,7 +13263,7 @@ void hdd_softap_tkip_mic_fail_counter_measure(hdd_adapter_t *pAdapter,v_BOOL_t e ENTER(); - hddLog( LOGE, "hdd_softap_tkip_mic_fail_counter_measure:(%p, false)", (WLAN_HDD_GET_CTX(pAdapter))->pvosContext); + hddLog( LOGE, "hdd_softap_tkip_mic_fail_counter_measure:(%pK, false)", (WLAN_HDD_GET_CTX(pAdapter))->pvosContext); WLANSAP_SetCounterMeasure(pVosContext, (v_BOOL_t)enable); } @@ -13607,7 +13607,7 @@ static VOS_STATUS wlan_hdd_framework_restart(hdd_context_t *pHddCtx) if ((NULL == pAdapterNode) || (VOS_STATUS_SUCCESS != status)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("fail to get adapter: %p %d"), pAdapterNode, status); + FL("fail to get adapter: %pK %d"), pAdapterNode, status); goto end; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_p2p.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_p2p.c index 3560af20603c..01d722173a01 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_p2p.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_p2p.c @@ -285,7 +285,7 @@ eHalStatus wlan_hdd_remain_on_channel_callback( tHalHandle hHal, void* pCtx, vos_mem_free(pRemainChanCtx->action_pkt_buff.frame_ptr); } hddLog( LOG1, FL( - "Freeing ROC ctx cfgState->remain_on_chan_ctx=%p"), + "Freeing ROC ctx cfgState->remain_on_chan_ctx=%pK"), cfgState->remain_on_chan_ctx); vos_mem_free( pRemainChanCtx ); pRemainChanCtx = NULL; @@ -492,7 +492,7 @@ void wlan_hdd_remain_on_chan_timeout(void *data) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { - hddLog( LOGE, FL("pAdapter is invalid %p !!!"), pAdapter); + hddLog( LOGE, FL("pAdapter is invalid %pK !!!"), pAdapter); return; } pHddCtx = WLAN_HDD_GET_CTX( pAdapter ); @@ -599,7 +599,7 @@ static int wlan_hdd_p2p_start_remain_on_channel( hddLog(VOS_TRACE_LEVEL_ERROR, FL("Not able to initalize remain_on_chan timer")); hddLog( LOG1, FL( - "Freeing ROC ctx cfgState->remain_on_chan_ctx=%p"), + "Freeing ROC ctx cfgState->remain_on_chan_ctx=%pK"), cfgState->remain_on_chan_ctx); cfgState->remain_on_chan_ctx = NULL; vos_mem_free(pRemainChanCtx); @@ -643,7 +643,7 @@ static int wlan_hdd_p2p_start_remain_on_channel( mutex_lock(&pHddCtx->roc_lock); pRemainChanCtx = cfgState->remain_on_chan_ctx; hddLog( LOG1, FL( - "Freeing ROC ctx cfgState->remain_on_chan_ctx=%p"), + "Freeing ROC ctx cfgState->remain_on_chan_ctx=%pK"), cfgState->remain_on_chan_ctx); if (pRemainChanCtx) { @@ -687,7 +687,7 @@ static int wlan_hdd_p2p_start_remain_on_channel( mutex_lock(&pHddCtx->roc_lock); pRemainChanCtx = cfgState->remain_on_chan_ctx; hddLog( LOG1, FL( - "Freeing ROC ctx cfgState->remain_on_chan_ctx=%p"), + "Freeing ROC ctx cfgState->remain_on_chan_ctx=%pK"), cfgState->remain_on_chan_ctx); if (pRemainChanCtx) { @@ -852,7 +852,7 @@ static int wlan_hdd_request_remain_on_channel( struct wiphy *wiphy, schedule_delayed_work(&pAdapter->roc_work, msecs_to_jiffies(pHddCtx->cfg_ini->gP2PListenDeferInterval)); - hddLog(VOS_TRACE_LEVEL_INFO, "Defer interval is %hu, pAdapter %p", + hddLog(VOS_TRACE_LEVEL_INFO, "Defer interval is %hu, pAdapter %pK", pHddCtx->cfg_ini->gP2PListenDeferInterval, pAdapter); return 0; } @@ -2396,7 +2396,7 @@ void hdd_sendMgmtFrameOverMonitorIface( hdd_adapter_t *pMonAdapter, { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, "HDD [%d]: Insufficient headroom, " - "head[%p], data[%p], req[%d]", + "head[%pK], data[%pK], req[%d]", __LINE__, skb->head, skb->data, nFrameLength); kfree_skb(skb); return ; diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_scan.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_scan.c index 3cc5b1d19705..33deb6d3bd6e 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_scan.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_scan.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. * @@ -626,7 +626,7 @@ static eHalStatus hdd_ScanRequestCallback(tHalHandle halHandle, void *pContext, ENTER(); - hddLog(LOGW,"%s called with halHandle = %p, pContext = %p, scanID = %d," + hddLog(LOGW,"%s called with halHandle = %pK, pContext = %pK, scanID = %d," " returned status = %d", __func__, halHandle, pContext, (int) scanId, (int) status); @@ -636,7 +636,7 @@ static eHalStatus hdd_ScanRequestCallback(tHalHandle halHandle, void *pContext, do some quick sanity before proceeding */ if (pAdapter->dev != dev) { - hddLog(LOGW, "%s: device mismatch %p vs %p", + hddLog(LOGW, "%s: device mismatch %pK vs %pK", __func__, pAdapter->dev, dev); return eHAL_STATUS_SUCCESS; } @@ -1014,7 +1014,7 @@ static eHalStatus hdd_CscanRequestCallback(tHalHandle halHandle, void *pContext, VOS_STATUS vos_status = VOS_STATUS_SUCCESS; ENTER(); - hddLog(LOG1,"%s called with halHandle = %p, pContext = %p, scanID = %d," + hddLog(LOG1,"%s called with halHandle = %pK, pContext = %pK, scanID = %d," " returned status = %d", __func__, halHandle, pContext, (int) scanId, (int) status); diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c index a78614f43324..3c8a2f51ea04 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c @@ -73,10 +73,10 @@ #if 0 static void hdd_softap_dump_sk_buff(struct sk_buff * skb) { - VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: head = %p", __func__, skb->head); - //VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data = %p", __func__, skb->data); - VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p", __func__, skb->tail); - VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: end = %p", __func__, skb->end); + VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: head = %pK", __func__, skb->head); + //VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data = %pK", __func__, skb->data); + VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: tail = %pK", __func__, skb->tail); + VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: end = %pK", __func__, skb->end); VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: len = %d", __func__, skb->len); VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d", __func__, skb->data_len); VOS_TRACE( VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d", __func__, skb->mac_len); @@ -1559,7 +1559,7 @@ VOS_STATUS hdd_softap_tx_low_resource_cbk( vos_pkt_t *pVosPacket, if (pAdapter == NULL || WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic) { VOS_TRACE(VOS_MODULE_ID_HDD_SAP_DATA, VOS_TRACE_LEVEL_ERROR, - FL("Invalid adapter %p"), pAdapter); + FL("Invalid adapter %pK"), pAdapter); return VOS_STATUS_E_FAILURE; } pVosContext = (WLAN_HDD_GET_CTX(pAdapter))->pvosContext; diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tdls.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tdls.c index 460ffe5637f2..78e113e02e01 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tdls.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tdls.c @@ -2367,7 +2367,7 @@ tANI_U16 wlan_hdd_tdlsConnectedPeers(hdd_adapter_t *pAdapter) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("invalid pAdapter: %p"), pAdapter); + FL("invalid pAdapter: %pK"), pAdapter); return 0; } pHddCtx = WLAN_HDD_GET_CTX(pAdapter); @@ -2625,7 +2625,7 @@ void wlan_hdd_tdls_check_bmps(hdd_adapter_t *pAdapter) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("invalid pAdapter: %p"), pAdapter); + FL("invalid pAdapter: %pK"), pAdapter); return; } @@ -3021,7 +3021,7 @@ void wlan_hdd_tdls_check_power_save_prohibited(hdd_adapter_t *pAdapter) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("invalid pAdapter: %p"), pAdapter); + FL("invalid pAdapter: %pK"), pAdapter); return; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tx_rx.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tx_rx.c index 00ba6f40a134..67a42e7a5dda 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tx_rx.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_tx_rx.c @@ -146,10 +146,10 @@ static struct sk_buff* hdd_mon_tx_fetch_pkt(hdd_adapter_t* pAdapter); //Utility function to dump an sk_buff static void dump_sk_buff(struct sk_buff * skb) { - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: head = %p", __func__, skb->head); - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data = %p", __func__, skb->data); - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p", __func__, skb->tail); - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: end = %p", __func__, skb->end); + VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: head = %pK", __func__, skb->head); + VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data = %pK", __func__, skb->data); + VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: tail = %pK", __func__, skb->tail); + VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: end = %pK", __func__, skb->end); VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: len = %d", __func__, skb->len); VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d", __func__, skb->data_len); VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d", __func__, skb->mac_len); @@ -1686,7 +1686,7 @@ VOS_STATUS hdd_tx_complete_cbk( v_VOID_t *vosContext, if (pAdapter == NULL || WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic) { VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_INFO, - "%s: Invalid adapter %p", __func__, pAdapter); + "%s: Invalid adapter %pK", __func__, pAdapter); } else { @@ -2010,7 +2010,7 @@ VOS_STATUS hdd_tx_fetch_packet_cbk( v_VOID_t *vosContext, if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR, - FL("invalid adapter:%p for staId:%u"), pAdapter, *pStaId); + FL("invalid adapter:%pK for staId:%u"), pAdapter, *pStaId); VOS_ASSERT(0); return VOS_STATUS_E_FAILURE; } @@ -2402,7 +2402,7 @@ VOS_STATUS hdd_tx_low_resource_cbk( vos_pkt_t *pVosPacket, if (NULL == pAdapter || WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic) { VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR, - FL("Invalid adapter %p"), pAdapter); + FL("Invalid adapter %pK"), pAdapter); return VOS_STATUS_E_FAILURE; } @@ -2554,7 +2554,7 @@ VOS_STATUS hdd_rx_packet_monitor_cbk(v_VOID_t *vosContext,vos_pkt_t *pVosPacket if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic) ) { VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR, - FL("Invalid adapter %p for MONITOR MODE"), pAdapter); + FL("Invalid adapter %pK for MONITOR MODE"), pAdapter); vos_pkt_return_packet( pVosPacket ); return VOS_STATUS_E_FAILURE; } @@ -2702,7 +2702,7 @@ VOS_STATUS hdd_rx_packet_cbk( v_VOID_t *vosContext, if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic) ) { VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR, - FL("Invalid adapter %p for staId %u"), pAdapter, staId); + FL("Invalid adapter %pK for staId %u"), pAdapter, staId); return VOS_STATUS_E_FAILURE; } diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wext.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wext.c index e68b275b1af3..2a96f9fe312a 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wext.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wext.c @@ -909,14 +909,14 @@ static void hdd_GetRssiCB( v_S7_t rssi, tANI_U32 staId, void *pContext ) if (ioctl_debug) { - pr_info("%s: rssi [%d] STA [%d] pContext [%p]\n", + pr_info("%s: rssi [%d] STA [%d] pContext [%pK]\n", __func__, (int)rssi, (int)staId, pContext); } if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -935,11 +935,11 @@ static void hdd_GetRssiCB( v_S7_t rssi, tANI_U32 staId, void *pContext ) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); if (ioctl_debug) { - pr_info("%s: Invalid context, pAdapter [%p] magic [%08x]\n", + pr_info("%s: Invalid context, pAdapter [%pK] magic [%08x]\n", __func__, pAdapter, pStatsContext->magic); } return; @@ -972,14 +972,14 @@ static void hdd_GetSnrCB(tANI_S8 snr, tANI_U32 staId, void *pContext) if (ioctl_debug) { - pr_info("%s: snr [%d] STA [%d] pContext [%p]\n", + pr_info("%s: snr [%d] STA [%d] pContext [%pK]\n", __func__, (int)snr, (int)staId, pContext); } if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -998,11 +998,11 @@ static void hdd_GetSnrCB(tANI_S8 snr, tANI_U32 staId, void *pContext) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); if (ioctl_debug) { - pr_info("%s: Invalid context, pAdapter [%p] magic [%08x]\n", + pr_info("%s: Invalid context, pAdapter [%pK] magic [%08x]\n", __func__, pAdapter, pStatsContext->magic); } return; @@ -1257,14 +1257,14 @@ static void hdd_GetRoamRssiCB( v_S7_t rssi, tANI_U32 staId, void *pContext ) hdd_adapter_t *pAdapter; if (ioctl_debug) { - pr_info("%s: rssi [%d] STA [%d] pContext [%p]\n", + pr_info("%s: rssi [%d] STA [%d] pContext [%pK]\n", __func__, (int)rssi, (int)staId, pContext); } if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -1283,11 +1283,11 @@ static void hdd_GetRoamRssiCB( v_S7_t rssi, tANI_U32 staId, void *pContext ) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); if (ioctl_debug) { - pr_info("%s: Invalid context, pAdapter [%p] magic [%08x]\n", + pr_info("%s: Invalid context, pAdapter [%pK] magic [%08x]\n", __func__, pAdapter, pStatsContext->magic); } return; @@ -3331,7 +3331,7 @@ static void iw_power_callback_fn (void *pContext, eHalStatus status) if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -3397,14 +3397,14 @@ void hdd_GetClassA_statisticsCB(void *pStats, void *pContext) if (ioctl_debug) { - pr_info("%s: pStats [%p] pContext [%p]\n", + pr_info("%s: pStats [%pK] pContext [%pK]\n", __func__, pStats, pContext); } if ((NULL == pStats) || (NULL == pContext)) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pStats [%p] pContext [%p]", + "%s: Bad param, pStats [%pK] pContext [%pK]", __func__, pStats, pContext); return; } @@ -3424,11 +3424,11 @@ void hdd_GetClassA_statisticsCB(void *pStats, void *pContext) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); if (ioctl_debug) { - pr_info("%s: Invalid context, pAdapter [%p] magic [%08x]\n", + pr_info("%s: Invalid context, pAdapter [%pK] magic [%08x]\n", __func__, pAdapter, pStatsContext->magic); } return; @@ -3529,14 +3529,14 @@ static void hdd_get_station_statisticsCB(void *pStats, void *pContext) if (ioctl_debug) { - pr_info("%s: pStats [%p] pContext [%p]\n", + pr_info("%s: pStats [%pK] pContext [%pK]\n", __func__, pStats, pContext); } if ((NULL == pStats) || (NULL == pContext)) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pStats [%p] pContext [%p]", + "%s: Bad param, pStats [%pK] pContext [%pK]", __func__, pStats, pContext); return; } @@ -3556,11 +3556,11 @@ static void hdd_get_station_statisticsCB(void *pStats, void *pContext) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, pStatsContext->magic); if (ioctl_debug) { - pr_info("%s: Invalid context, pAdapter [%p] magic [%08x]\n", + pr_info("%s: Invalid context, pAdapter [%pK] magic [%08x]\n", __func__, pAdapter, pStatsContext->magic); } return; @@ -6532,7 +6532,7 @@ static void hdd_GetCurrentAntennaIndex(int antennaId, void *pContext) if (NULL == pContext) { hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Bad param, pContext [%p]", + "%s: Bad param, pContext [%pK]", __func__, pContext); return; } @@ -6547,7 +6547,7 @@ static void hdd_GetCurrentAntennaIndex(int antennaId, void *pContext) /* the caller presumably timed out so there is nothing we can do */ spin_unlock(&hdd_context_lock); hddLog(VOS_TRACE_LEVEL_WARN, - "%s: Invalid context, pAdapter [%p] magic [%08x]", + "%s: Invalid context, pAdapter [%pK] magic [%08x]", __func__, pAdapter, context->magic); return; } @@ -7758,7 +7758,7 @@ void hdd_wmm_tx_snapshot(hdd_adapter_t *pAdapter) spin_lock_bh( &pPeerInfo->ibssStaInfo[i].wmm_tx_queue[j].lock); hddLog(LOGE, - "HDD TxQueue Info For AC: %d Count: %d PrevAdress:%p, NextAddress:%p", + "HDD TxQueue Info For AC: %d Count: %d PrevAdress:%pK, NextAddress:%pK", j, pPeerInfo->ibssStaInfo[i].wmm_tx_queue[j].count, pPeerInfo->ibssStaInfo[i].wmm_tx_queue[j].anchor.prev, pPeerInfo->ibssStaInfo[i].wmm_tx_queue[j].anchor.next); @@ -11858,7 +11858,7 @@ int hdd_register_wext(struct net_device *dev) int hdd_UnregisterWext(struct net_device *dev) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,"In %s %p", __func__, dev); + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,"In %s %pK", __func__, dev); if (dev != NULL) { rtnl_lock(); diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wmm.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wmm.c index b91f0c8407fa..2edcdb76143b 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wmm.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_wmm.c @@ -381,7 +381,7 @@ static void hdd_wmm_free_context (hdd_wmm_qos_context_t* pQosContext) } VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: Entered, context %p", + "%s: Entered, context %pK", __func__, pQosContext); // take the wmmLock since we're manipulating the context list @@ -444,7 +444,7 @@ static void hdd_wmm_notify_app (hdd_wmm_qos_context_t* pQosContext) } VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: Entered, context %p", + "%s: Entered, context %pK", __func__, pQosContext); mutex_lock(&pHddCtx->wmmLock); @@ -589,7 +589,7 @@ void hdd_wmm_inactivity_timer_cb( v_PVOID_t pUserData ) if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) { VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("invalid pAdapter: %p"), pAdapter); + FL("invalid pAdapter: %pK"), pAdapter); return; } @@ -759,7 +759,7 @@ static eHalStatus hdd_wmm_sme_callback (tHalHandle hHal, VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: Entered, context %p", + "%s: Entered, context %pK", __func__, pQosContext); mutex_lock(&pHddCtx->wmmLock); @@ -779,7 +779,7 @@ static eHalStatus hdd_wmm_sme_callback (tHalHandle hHal, pAc = &pAdapter->hddWmmStatus.wmmAcStatus[acType]; VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: status %d flowid %d info %p", + "%s: status %d flowid %d info %pK", __func__, smeStatus, qosFlowId, pCurrentQosInfo); switch (smeStatus) @@ -1455,7 +1455,7 @@ static void __hdd_wmm_do_implicit_qos(struct work_struct *work) } VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: Entered, context %p", + "%s: Entered, context %pK", __func__, pQosContext); mutex_lock(&pHddCtx->wmmLock); @@ -1474,7 +1474,7 @@ static void __hdd_wmm_do_implicit_qos(struct work_struct *work) pAc = &pAdapter->hddWmmStatus.wmmAcStatus[acType]; VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: pAdapter %p acType %d", + "%s: pAdapter %pK acType %d", __func__, pAdapter, acType); if (!pAc->wmmAcAccessNeeded) @@ -2468,7 +2468,7 @@ VOS_STATUS hdd_wmm_acquire_access( hdd_adapter_t* pAdapter, // we need to establish implicit QoS VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO, - "%s: Need to schedule implicit QoS for TL AC %d, pAdapter is %p", + "%s: Need to schedule implicit QoS for TL AC %d, pAdapter is %pK", __func__, acType, pAdapter); pAdapter->hddWmmStatus.wmmAcStatus[acType].wmmAcAccessNeeded = VOS_TRUE; @@ -2493,7 +2493,7 @@ VOS_STATUS hdd_wmm_acquire_access( hdd_adapter_t* pAdapter, hdd_wmm_do_implicit_qos); VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO, - "%s: Scheduling work for AC %d, context %p", + "%s: Scheduling work for AC %d, context %pK", __func__, acType, pQosContext); schedule_work(&pQosContext->wmmAcSetupImplicitQos); @@ -2960,7 +2960,7 @@ hdd_wlan_wmm_status_e hdd_wmm_addts( hdd_adapter_t* pAdapter, pQosContext->qosFlowId = 0; VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO, - "%s: Setting up QoS, context %p", + "%s: Setting up QoS, context %pK", __func__, pQosContext); mutex_lock(&pHddCtx->wmmLock); @@ -3095,7 +3095,7 @@ hdd_wlan_wmm_status_e hdd_wmm_delts( hdd_adapter_t* pAdapter, VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: found handle 0x%x, flow %d, AC %d, context %p", + "%s: found handle 0x%x, flow %d, AC %d, context %pK", __func__, handle, qosFlowId, acType, pQosContext); #ifndef WLAN_MDM_CODE_REDUCTION_OPT @@ -3203,7 +3203,7 @@ hdd_wlan_wmm_status_e hdd_wmm_checkts( hdd_adapter_t* pAdapter, if (pQosContext->handle == handle) { VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW, - "%s: found handle 0x%x, context %p", + "%s: found handle 0x%x, context %pK", __func__, handle, pQosContext); status = pQosContext->lastStatus; diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limAdmitControl.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limAdmitControl.c index 9f3cb9dd4540..afcf20362de1 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limAdmitControl.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limAdmitControl.c @@ -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. * @@ -554,7 +554,7 @@ void limTspecDelete(tpAniSirGlobal pMac, tpLimTspecInfo pInfo) return; //pierre limLog(pMac, ADMIT_CONTROL_LOGLEVEL, FL("tspec entry = %d"), pInfo->idx); - limLog(pMac, ADMIT_CONTROL_LOGLEVEL, FL("delete tspec %p"), pInfo); + limLog(pMac, ADMIT_CONTROL_LOGLEVEL, FL("delete tspec %pK"), pInfo); pInfo->inuse = 0; // clear the hcca/parameterized queue indicator diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c index eee8b8ef918a..877aaa2929b0 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c @@ -1422,7 +1422,7 @@ VOS_STATUS peHandleMgmtFrame( v_PVOID_t pvosGCtx, v_PVOID_t vosBuff) if(mHdr->fc.type == SIR_MAC_MGMT_FRAME) { PELOG1(limLog( pMac, LOG1, - FL ( "RxBd=%p mHdr=%p Type: %d Subtype: %d Sizes:FC%d Mgmt%d"), + FL ( "RxBd=%pK mHdr=%pK Type: %d Subtype: %d Sizes:FC%d Mgmt%d"), pRxPacketInfo, mHdr, mHdr->fc.type, mHdr->fc.subType, sizeof(tSirMacFrameCtl), sizeof(tSirMacMgmtHdr) );) #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c index 7a60cac737e5..1c5c17ac002a 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c @@ -72,7 +72,7 @@ void limFTCleanup(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.pFTPreAuthReq) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Freeing pFTPreAuthReq= %p", + PELOGE(limLog( pMac, LOGE, "%s: Freeing pFTPreAuthReq= %pK", __func__, pMac->ft.ftPEContext.pFTPreAuthReq);) #endif if (pMac->ft.ftPEContext.pFTPreAuthReq->pbssDescription) @@ -89,7 +89,7 @@ void limFTCleanup(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.psavedsessionEntry) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Setting psavedsessionEntry= %p to NULL", + PELOGE(limLog( pMac, LOGE, "%s: Setting psavedsessionEntry= %pK to NULL", __func__, pMac->ft.ftPEContext.psavedsessionEntry);) #endif pMac->ft.ftPEContext.psavedsessionEntry = NULL; @@ -106,7 +106,7 @@ void limFTCleanup(tpAniSirGlobal pMac) peDeleteSession(pMac, pMac->ft.ftPEContext.pftSessionEntry); } #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Setting pftSessionEntry= %p to NULL", + PELOGE(limLog( pMac, LOGE, "%s: Setting pftSessionEntry= %pK to NULL", __func__, pMac->ft.ftPEContext.pftSessionEntry);) #endif pMac->ft.ftPEContext.pftSessionEntry = NULL; @@ -136,7 +136,7 @@ void limFTInit(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.pFTPreAuthReq) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Freeing pFTPreAuthReq= %p", + PELOGE(limLog( pMac, LOGE, "%s: Freeing pFTPreAuthReq= %pK", __func__, pMac->ft.ftPEContext.pFTPreAuthReq);) #endif if (pMac->ft.ftPEContext.pFTPreAuthReq->pbssDescription) @@ -154,7 +154,7 @@ void limFTInit(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.psavedsessionEntry) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Setting psavedsessionEntry= %p to NULL", + PELOGE(limLog( pMac, LOGE, "%s: Setting psavedsessionEntry= %pK to NULL", __func__, pMac->ft.ftPEContext.psavedsessionEntry);) #endif pMac->ft.ftPEContext.psavedsessionEntry = NULL; @@ -166,7 +166,7 @@ void limFTInit(tpAniSirGlobal pMac) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Deleting session = %p ", + PELOGE(limLog( pMac, LOGE, "%s: Deleting session = %pK ", __func__, pMac->ft.ftPEContext.pftSessionEntry);) #endif /* Delete the previous valid preauth pesession if it is still in @@ -191,7 +191,7 @@ void limFTInit(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.pAddBssReq) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Freeing AddBssReq = %p ", + PELOGE(limLog( pMac, LOGE, "%s: Freeing AddBssReq = %pK ", __func__, pMac->ft.ftPEContext.pAddBssReq);) #endif vos_mem_free(pMac->ft.ftPEContext.pAddBssReq); @@ -202,7 +202,7 @@ void limFTInit(tpAniSirGlobal pMac) if (pMac->ft.ftPEContext.pAddStaReq) { #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOGE, "%s: Freeing AddStaReq = %p ", + PELOGE(limLog( pMac, LOGE, "%s: Freeing AddStaReq = %pK ", __func__, pMac->ft.ftPEContext.pAddStaReq);) #endif vos_mem_free(pMac->ft.ftPEContext.pAddStaReq); @@ -303,14 +303,14 @@ int limProcessFTPreAuthReq(tpAniSirGlobal pMac, tpSirMsgQ pMsg) { // Need to suspend link only if the channels are different limLog(pMac, LOG1, FL(" Performing pre-auth on different" - " channel (session %p)"), psessionEntry); + " channel (session %pK)"), psessionEntry); limSuspendLink(pMac, eSIR_CHECK_ROAMING_SCAN, FTPreAuthSuspendLinkHandler, (tANI_U32 *)psessionEntry); } else { limLog(pMac, LOG1, FL(" Performing pre-auth on same" - " channel (session %p)"), psessionEntry); + " channel (session %pK)"), psessionEntry); // We are in the same channel. Perform pre-auth limPerformFTPreAuth(pMac, eHAL_STATUS_SUCCESS, NULL, psessionEntry); } @@ -349,7 +349,7 @@ void limPerformFTPreAuth(tpAniSirGlobal pMac, eHalStatus status, tANI_U32 *data, #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG limLog(pMac, LOG1, FL("Entered wait auth2 state for FT" - " (old session %p)"), + " (old session %pK)"), pMac->ft.ftPEContext.psavedsessionEntry); #endif @@ -1097,7 +1097,7 @@ void limPostFTPreAuthRsp(tpAniSirGlobal pMac, tSirRetStatus status, } #if defined WLAN_FEATURE_VOWIFI_11R_DEBUG - PELOGE(limLog( pMac, LOG1, FL("Auth Rsp = %p"), pFTPreAuthRsp);) + PELOGE(limLog( pMac, LOG1, FL("Auth Rsp = %pK"), pFTPreAuthRsp);) #endif vos_mem_zero(pFTPreAuthRsp, rspLen); @@ -1222,7 +1222,7 @@ void limHandleFTPreAuthRsp(tpAniSirGlobal pMac, tSirRetStatus status, pftSessionEntry->limPrevSmeState = pftSessionEntry->limSmeState; pftSessionEntry->limSmeState = eLIM_SME_WT_REASSOC_STATE; pMac->ft.ftPEContext.pftSessionEntry = pftSessionEntry; - PELOGE(limLog(pMac, LOG1,"%s:created session (%p) with id = %d", + PELOGE(limLog(pMac, LOG1,"%s:created session (%pK) with id = %d", __func__, pftSessionEntry, pftSessionEntry->peSessionId);) /* Update the ReAssoc BSSID of the current session */ @@ -1438,7 +1438,7 @@ void limProcessFTPreauthRspTimeout(tpAniSirGlobal pMac) pMac->ft.ftPEContext.pFTPreAuthReq->bPreAuthRspProcessed) { limLog(pMac,LOGE,FL("Auth rsp already posted to SME" - " (session %p)"), psessionEntry); + " (session %pK)"), psessionEntry); return; } else @@ -1451,7 +1451,7 @@ void limProcessFTPreauthRspTimeout(tpAniSirGlobal pMac) * limProcessAuthFrameNoSession. */ limLog(pMac,LOG1,FL("Auth rsp not yet posted to SME" - " (session %p)"), psessionEntry); + " (session %pK)"), psessionEntry); pMac->ft.ftPEContext.pFTPreAuthReq->bPreAuthRspProcessed = eANI_BOOLEAN_TRUE; } diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c index 36b7a68a8b12..e402ece802e3 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c @@ -309,7 +309,7 @@ limTriggerSTAdeletion(tpAniSirGlobal pMac, tpDphHashNode pStaDs, tpPESession pse pStaDs->sta_deletion_in_progress) { /* Already in the process of deleting context for the peer */ limLog(pMac, LOG1, - FL("Deletion is in progress (%d) for peer:%p in mlmState %d"), + FL("Deletion is in progress (%d) for peer:%pK in mlmState %d"), pStaDs->sta_deletion_in_progress, pStaDs->staAddr, pStaDs->mlmStaContext.mlmState); return; diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limLogDump.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limLogDump.c index 9280c7d1c0f8..af5c95e25992 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limLogDump.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limLogDump.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013, 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2013, 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -2142,7 +2142,7 @@ dump_lim_ft_event( tpAniSirGlobal pMac, tANI_U32 arg1, tANI_U32 arg2, tANI_U32 a p += log_sprintf( pMac, p, "%s: Session %02x %02x %02x\n", __func__, psessionEntry->bssId[0], psessionEntry->bssId[1], psessionEntry->bssId[2]); - p += log_sprintf( pMac, p, "%s: Session %02x %02x %02x %p\n", __func__, + p += log_sprintf( pMac, p, "%s: Session %02x %02x %02x %pK\n", __func__, pftPreAuthReq->currbssId[0], pftPreAuthReq->currbssId[1], pftPreAuthReq->currbssId[2], pftPreAuthReq); diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limP2P.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limP2P.c index b420404340ec..988e235c8b2e 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limP2P.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limP2P.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. * @@ -896,7 +896,7 @@ void limSetHtCaps(tpAniSirGlobal pMac, tpPESession psessionEntry, tANI_U8 *pIeSt pIe = limGetIEPtr(pMac,pIeStartPtr, nBytes, DOT11F_EID_HTCAPS,ONE_BYTE); - limLog( pMac, LOG2, FL("pIe %p dot11HtCap.supportedMCSSet[0]=0x%x"), + limLog( pMac, LOG2, FL("pIe %pK dot11HtCap.supportedMCSSet[0]=0x%x"), pIe, dot11HtCap.supportedMCSSet[0]); if(pIe) { @@ -1110,7 +1110,7 @@ void limSendP2PActionFrame(tpAniSirGlobal pMac, tpSirMsgQ pMsg) } nBytes += noaLen; limLog( pMac, LOGE, - FL("noaLen=%d origLen=%d pP2PIe=%p" + FL("noaLen=%d origLen=%d pP2PIe=%pK" " nBytes=%d nBytesToCopy=%zu"), noaLen,origLen, pP2PIe, nBytes, ((pP2PIe + origLen + 2) - (v_U8_t *)pMbMsg->data)); diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessAuthFrame.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessAuthFrame.c index 0f59da94fd2c..c838711e2c92 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessAuthFrame.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessAuthFrame.c @@ -1857,14 +1857,14 @@ tSirRetStatus limProcessAuthFrameNoSession(tpAniSirGlobal pMac, tANI_U8 *pBd, vo * pre-auth. */ PELOGE(limLog(pMac,LOG1,"Auth rsp already posted to SME" - " (session %p, FT session %p)", psessionEntry, + " (session %pK, FT session %pK)", psessionEntry, pMac->ft.ftPEContext.pftSessionEntry);); return eSIR_SUCCESS; } else { PELOGE(limLog(pMac,LOGW,"Auth rsp not yet posted to SME" - " (session %p, FT session %p)", psessionEntry, + " (session %pK, FT session %pK)", psessionEntry, pMac->ft.ftPEContext.pftSessionEntry);); pMac->ft.ftPEContext.pFTPreAuthReq->bPreAuthRspProcessed = eANI_BOOLEAN_TRUE; diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c index d50909c77c68..58ea0b0d9853 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c @@ -274,7 +274,7 @@ limSuspendLink(tpAniSirGlobal pMac, tSirLinkTrafficCheck trafficCheck, SUSPEND_ if( pMac->lim.gpLimSuspendCallback || pMac->lim.gLimSystemInScanLearnMode ) { - limLog( pMac, LOGE, FL("Something is wrong, SuspendLinkCbk:%p " + limLog( pMac, LOGE, FL("Something is wrong, SuspendLinkCbk:%pK " "IsSystemInScanLearnMode:%d"), pMac->lim.gpLimSuspendCallback, pMac->lim.gLimSystemInScanLearnMode ); callback( pMac, eHAL_STATUS_FAILURE, data ); diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c index b55f5ed927bd..6999788eab45 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c @@ -957,7 +957,7 @@ limProcessMlmReassocCnf(tpAniSirGlobal pMac, tANI_U32 *pMsgBuf) */ if (pMac->ft.ftPEContext.pFTPreAuthReq) { - limLog(pMac, LOG1, "%s: Freeing pFTPreAuthReq= %p", __func__, + limLog(pMac, LOG1, "%s: Freeing pFTPreAuthReq= %pK", __func__, pMac->ft.ftPEContext.pFTPreAuthReq); if (pMac->ft.ftPEContext.pFTPreAuthReq->pbssDescription) { diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limRMC.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limRMC.c index 86b302e2a0f7..5d29ac40ced2 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limRMC.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limRMC.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -119,7 +119,7 @@ __rmcGroupInsertHashEntry(tpAniSirGlobal pMac, tSirMacAddr transmitter) { entry = (tLimRmcGroupContext *)vos_mem_malloc(sizeof(*entry)); - PELOG1(limLog(pMac, LOG1, FL("RMC: Hash Insert:new entry %p"), entry);) + PELOG1(limLog(pMac, LOG1, FL("RMC: Hash Insert:new entry %pK"), entry);) if (entry) { @@ -186,7 +186,7 @@ __rmcGroupDeleteHashEntry(tpAniSirGlobal pMac, tSirMacAddr transmitter) prev->next = entry->next; } - PELOG1(limLog(pMac, LOG1, FL("RMC: Hash Delete: entry %p " + PELOG1(limLog(pMac, LOG1, FL("RMC: Hash Delete: entry %pK " " transmitter " MAC_ADDRESS_STR), entry MAC_ADDR_ARRAY(transmitter));) diff --git a/drivers/staging/prima/CORE/MAC/src/pe/lim/limSecurityUtils.c b/drivers/staging/prima/CORE/MAC/src/pe/lim/limSecurityUtils.c index 6ca9874912c2..82fa962bcdf1 100644 --- a/drivers/staging/prima/CORE/MAC/src/pe/lim/limSecurityUtils.c +++ b/drivers/staging/prima/CORE/MAC/src/pe/lim/limSecurityUtils.c @@ -433,7 +433,7 @@ limDeletePreAuthNode(tpAniSirGlobal pMac, tSirMacAddr macAddr) limLog(pMac, LOG1, FL(" first node to delete")); limLog(pMac, LOG1, - FL(" Release data entry:%p idx %d peer: " MAC_ADDRESS_STR), + FL(" Release data entry:%pK idx %d peer: " MAC_ADDRESS_STR), pTempNode, pTempNode->authNodeIdx, MAC_ADDR_ARRAY(macAddr)); limReleasePreAuthNode(pMac, pTempNode); @@ -455,7 +455,7 @@ limDeletePreAuthNode(tpAniSirGlobal pMac, tSirMacAddr macAddr) limLog(pMac, LOG1, FL(" subsequent node to delete")); limLog(pMac, LOG1, - FL("Release data entry: %p id %d peer: "MAC_ADDRESS_STR), + FL("Release data entry: %pK id %d peer: "MAC_ADDRESS_STR), pTempNode, pTempNode->authNodeIdx, MAC_ADDR_ARRAY(macAddr)); limReleasePreAuthNode(pMac, pTempNode); diff --git a/drivers/staging/prima/CORE/SAP/src/sapChSelect.c b/drivers/staging/prima/CORE/SAP/src/sapChSelect.c index 32ce708f025d..7bf6090f74c7 100644 --- a/drivers/staging/prima/CORE/SAP/src/sapChSelect.c +++ b/drivers/staging/prima/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. * @@ -1766,7 +1766,7 @@ void sapComputeSpectWeight( tSapChSelSpectInfo* pSpectInfoParams, } 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/drivers/staging/prima/CORE/SAP/src/sapModule.c b/drivers/staging/prima/CORE/SAP/src/sapModule.c index 5376ce607894..d2d425985d3f 100644 --- a/drivers/staging/prima/CORE/SAP/src/sapModule.c +++ b/drivers/staging/prima/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 @@ WLANSAP_CleanCB 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; @@ -2095,7 +2095,7 @@ VOS_STATUS WLANSAP_SendAction( v_PVOID_t pvosGCtx, const tANI_U8 *pBuf, 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; } @@ -2163,7 +2163,7 @@ VOS_STATUS WLANSAP_RemainOnChannel( v_PVOID_t pvosGCtx, 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; } @@ -2222,7 +2222,7 @@ VOS_STATUS WLANSAP_CancelRemainOnChannel( v_PVOID_t pvosGCtx ) 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; } @@ -2284,7 +2284,7 @@ VOS_STATUS WLANSAP_RegisterMgmtFrame( v_PVOID_t pvosGCtx, tANI_U16 frameType, 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; } @@ -2349,7 +2349,7 @@ VOS_STATUS WLANSAP_DeRegisterMgmtFrame( v_PVOID_t pvosGCtx, tANI_U16 frameType, 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; } diff --git a/drivers/staging/prima/CORE/SME/src/QoS/sme_Qos.c b/drivers/staging/prima/CORE/SME/src/QoS/sme_Qos.c index a4fb0437f959..3b01d8ea829d 100644 --- a/drivers/staging/prima/CORE/SME/src/QoS/sme_Qos.c +++ b/drivers/staging/prima/CORE/SME/src/QoS/sme_Qos.c @@ -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 diff --git a/drivers/staging/prima/CORE/SME/src/ccm/ccmApi.c b/drivers/staging/prima/CORE/SME/src/ccm/ccmApi.c index 3be9efb086d0..38cd438b3df8 100644 --- a/drivers/staging/prima/CORE/SME/src/ccm/ccmApi.c +++ b/drivers/staging/prima/CORE/SME/src/ccm/ccmApi.c @@ -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) ; } diff --git a/drivers/staging/prima/CORE/SME/src/csr/csrApiRoam.c b/drivers/staging/prima/CORE/SME/src/csr/csrApiRoam.c index 47ccdef61f92..06669da7d734 100644 --- a/drivers/staging/prima/CORE/SME/src/csr/csrApiRoam.c +++ b/drivers/staging/prima/CORE/SME/src/csr/csrApiRoam.c @@ -1104,7 +1104,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) @@ -10725,7 +10725,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); } @@ -18747,7 +18747,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; } diff --git a/drivers/staging/prima/CORE/SME/src/csr/csrApiScan.c b/drivers/staging/prima/CORE/SME/src/csr/csrApiScan.c index 6125896e224c..d3bf156ca997 100644 --- a/drivers/staging/prima/CORE/SME/src/csr/csrApiScan.c +++ b/drivers/staging/prima/CORE/SME/src/csr/csrApiScan.c @@ -479,7 +479,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); diff --git a/drivers/staging/prima/CORE/SME/src/csr/csrNeighborRoam.c b/drivers/staging/prima/CORE/SME/src/csr/csrNeighborRoam.c index bce1abd66a33..29143a605957 100644 --- a/drivers/staging/prima/CORE/SME/src/csr/csrNeighborRoam.c +++ b/drivers/staging/prima/CORE/SME/src/csr/csrNeighborRoam.c @@ -2608,7 +2608,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); @@ -2655,7 +2655,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 { diff --git a/drivers/staging/prima/CORE/SME/src/sme_common/sme_Api.c b/drivers/staging/prima/CORE/SME/src/sme_common/sme_Api.c index 05d20d2eae30..731d92eebd62 100644 --- a/drivers/staging/prima/CORE/SME/src/sme_common/sme_Api.c +++ b/drivers/staging/prima/CORE/SME/src/sme_common/sme_Api.c @@ -9153,7 +9153,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]); diff --git a/drivers/staging/prima/CORE/SME/src/sme_common/sme_FTApi.c b/drivers/staging/prima/CORE/SME/src/sme_common/sme_FTApi.c index dd51fdedc92f..581399612a1e 100644 --- a/drivers/staging/prima/CORE/SME/src/sme_common/sme_FTApi.c +++ b/drivers/staging/prima/CORE/SME/src/sme_common/sme_FTApi.c @@ -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); diff --git a/drivers/staging/prima/CORE/SVC/src/logging/wlan_logging_sock_svc.c b/drivers/staging/prima/CORE/SVC/src/logging/wlan_logging_sock_svc.c index 64a252b8a954..3ff9664229d3 100644 --- a/drivers/staging/prima/CORE/SVC/src/logging/wlan_logging_sock_svc.c +++ b/drivers/staging/prima/CORE/SVC/src/logging/wlan_logging_sock_svc.c @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved. +* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -739,8 +739,8 @@ static int send_fw_log_pkt_to_user(void) msg_header.wmsg.length = skb->len; if (unlikely(skb_headroom(skb) < sizeof(msg_header))) { - pr_err("VPKT [%d]: Insufficient headroom, head[%p]," - " data[%p], req[%zu]", __LINE__, skb->head, + pr_err("VPKT [%d]: Insufficient headroom, head[%pK]," + " data[%pK], req[%zu]", __LINE__, skb->head, skb->data, sizeof(msg_header)); return -EIO; } @@ -835,8 +835,8 @@ static int send_data_mgmt_log_pkt_to_user(void) msg_header.frameSize = WLAN_MGMT_LOGGING_FRAMESIZE_128BYTES; if (unlikely(skb_headroom(skb) < sizeof(msg_header))) { - pr_err("VPKT [%d]: Insufficient headroom, head[%p]," - " data[%p], req[%zu]", __LINE__, skb->head, + pr_err("VPKT [%d]: Insufficient headroom, head[%pK]," + " data[%pK], req[%zu]", __LINE__, skb->head, skb->data, sizeof(msg_header)); return -EIO; } @@ -1066,8 +1066,8 @@ static int send_per_pkt_stats_to_user(void) pktlog.seq_no = gwlan_logging.pkt_stats_msg_idx++; if (unlikely(skb_headroom(plog_msg->skb) < sizeof(vos_log_pktlog_info))) { - pr_err("VPKT [%d]: Insufficient headroom, head[%p]," - " data[%p], req[%zu]", __LINE__, plog_msg->skb->head, + pr_err("VPKT [%d]: Insufficient headroom, head[%pK]," + " data[%pK], req[%zu]", __LINE__, plog_msg->skb->head, plog_msg->skb->data, sizeof(msg_header)); ret = -EIO; free_old_skb = true; @@ -1077,8 +1077,8 @@ static int send_per_pkt_stats_to_user(void) sizeof(vos_log_pktlog_info)); if (unlikely(skb_headroom(plog_msg->skb) < sizeof(int))) { - pr_err("VPKT [%d]: Insufficient headroom, head[%p]," - " data[%p], req[%zu]", __LINE__, plog_msg->skb->head, + pr_err("VPKT [%d]: Insufficient headroom, head[%pK]," + " data[%pK], req[%zu]", __LINE__, plog_msg->skb->head, plog_msg->skb->data, sizeof(int)); ret = -EIO; free_old_skb = true; @@ -1104,8 +1104,8 @@ static int send_per_pkt_stats_to_user(void) msg_header.wmsg.length = cpu_to_be16(plog_msg->skb->len); if (unlikely(skb_headroom(plog_msg->skb) < sizeof(msg_header))) { - pr_err("VPKT [%d]: Insufficient headroom, head[%p]," - " data[%p], req[%zu]", __LINE__, plog_msg->skb->head, + pr_err("VPKT [%d]: Insufficient headroom, head[%pK]," + " data[%pK], req[%zu]", __LINE__, plog_msg->skb->head, plog_msg->skb->data, sizeof(msg_header)); ret = -EIO; free_old_skb = true; @@ -2027,7 +2027,7 @@ size_t wlan_fwr_mem_dump_fsread_handler(char __user *buf, { if (buf == NULL || gwlan_logging.fw_mem_dump_ctx.fw_dump_start_loc == NULL) { - pr_err("%s : start loc : %p buf : %p ",__func__,gwlan_logging.fw_mem_dump_ctx.fw_dump_start_loc,buf); + pr_err("%s : start loc : %pK buf : %pK ",__func__,gwlan_logging.fw_mem_dump_ctx.fw_dump_start_loc,buf); return 0; } diff --git a/drivers/staging/prima/CORE/SVC/src/nlink/wlan_nlink_srv.c b/drivers/staging/prima/CORE/SVC/src/nlink/wlan_nlink_srv.c index facf905e8948..0018fc3fa48a 100644 --- a/drivers/staging/prima/CORE/SVC/src/nlink/wlan_nlink_srv.c +++ b/drivers/staging/prima/CORE/SVC/src/nlink/wlan_nlink_srv.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. * @@ -246,7 +246,7 @@ static void nl_srv_rcv_skb (struct sk_buff *skb) if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len) { VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_WARN, "NLINK: Invalid " - "Netlink message: skb[%p], len[%d], nlhdr[%p], nlmsg_len[%d]", + "Netlink message: skb[%pK], len[%d], nlhdr[%pK], nlmsg_len[%d]", skb, skb->len, nlh, nlh->nlmsg_len); return; } diff --git a/drivers/staging/prima/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c b/drivers/staging/prima/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c index 5db47dd15761..dd76232030ab 100644 --- a/drivers/staging/prima/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c +++ b/drivers/staging/prima/CORE/SVC/src/ptt/wlan_ptt_sock_svc.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. * @@ -73,7 +73,7 @@ static void ptt_sock_dump_buf(const unsigned char * pbuf, int cnt) int i; for (i = 0; i < cnt ; i++) { if ((i%16)==0) - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,"\n%p:", pbuf); + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,"\n%pK:", pbuf); VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO," %02X", *pbuf); pbuf++; } diff --git a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c index 09754b8a967a..c5af92992315 100644 --- a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c +++ b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c @@ -623,7 +623,7 @@ WLANTL_Open if (( NULL == pTLCb ) || ( NULL == pTLConfig ) ) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_FATAL, - "WLAN TL: Invalid input pointer on WLANTL_Open TL %p Config %p", pTLCb, pTLConfig )); + "WLAN TL: Invalid input pointer on WLANTL_Open TL %pK Config %pK", pTLCb, pTLConfig )); return VOS_STATUS_E_FAULT; } @@ -5078,7 +5078,7 @@ WLANTL_TxComp } TLLOG2(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_HIGH, - "WLAN TL:Calling Tx complete for pkt %p in function %p", + "WLAN TL:Calling Tx complete for pkt %pK in function %pK", vosDataBuff, pfnTxComp)); vosTempTx = vosDataBuff; @@ -5156,8 +5156,8 @@ WLANTL_CacheSTAFrame if (( NULL == pTLCb ) || ( NULL == vosTempBuff ) ) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL: Invalid input pointer on WLANTL_CacheSTAFrame TL %p" - " Packet %p", pTLCb, vosTempBuff )); + "WLAN TL: Invalid input pointer on WLANTL_CacheSTAFrame TL %pK" + " Packet %pK", pTLCb, vosTempBuff )); return VOS_STATUS_E_FAULT; } @@ -5372,7 +5372,7 @@ WLANTL_ForwardSTAFrames if ( NULL == pTLCb ) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL: Invalid input pointer on WLANTL_ForwardSTAFrames TL %p", + "WLAN TL: Invalid input pointer on WLANTL_ForwardSTAFrames TL %pK", pTLCb )); return VOS_STATUS_E_FAULT; } @@ -7991,7 +7991,7 @@ WLANTL_STATxAuth if (( NULL == pTLCb ) || ( NULL == pvosDataBuff )) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL:Invalid input params on WLANTL_STATxAuth TL %p DB %p", + "WLAN TL:Invalid input params on WLANTL_STATxAuth TL %pK DB %pK", pTLCb, pvosDataBuff)); if (NULL != pvosDataBuff) { @@ -9702,7 +9702,7 @@ WLANTL_McProcessMsg // Free the PAL memory, we are done with it. TLLOG2(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_HIGH, - "Flush complete received by TL: Freeing %p", FlushACRspPtr)); + "Flush complete received by TL: Freeing %pK", FlushACRspPtr)); vos_mem_free((v_VOID_t *)FlushACRspPtr); break; @@ -10651,7 +10651,7 @@ static v_VOID_t WLANTL_DebugFrame numBytes = dataSize % WLANTL_DEBUG_FRAME_BYTE_PER_LINE; linePointer = (v_U8_t *)dataPointer; - TLLOGE(VOS_TRACE(VOS_MODULE_ID_SAL, VOS_TRACE_LEVEL_ERROR, "WLAN TL:Frame Debug Frame Size %d, Pointer 0x%p", dataSize, dataPointer)); + TLLOGE(VOS_TRACE(VOS_MODULE_ID_SAL, VOS_TRACE_LEVEL_ERROR, "WLAN TL:Frame Debug Frame Size %d, Pointer 0x%pK", dataSize, dataPointer)); for(idx = 0; idx < numLines; idx++) { memset(lineBuffer, 0, WLANTL_DEBUG_FRAME_BYTE_PER_LINE); @@ -11202,7 +11202,7 @@ WLANTL_FastHwFwdDataFrame if ( NULL == pucBuffPtr ) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL:No enough space in VOSS packet %p for DxE/BD/WLAN header", vosDataBuff)); + "WLAN TL:No enough space in VOSS packet %pK for DxE/BD/WLAN header", vosDataBuff)); *pvosStatus = VOS_STATUS_E_INVAL; return; } @@ -12347,7 +12347,7 @@ WLANTL_EnableUAPSDForAC { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, "WLAN TL:Invalid input params on WLANTL_EnableUAPSDForAC" - " TL: %p STA: %d AC: %d", + " TL: %pK STA: %d AC: %d", pTLCb, ucSTAId, ucAC)); return VOS_STATUS_E_FAULT; } @@ -12445,7 +12445,7 @@ WLANTL_DisableUAPSDForAC { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, "WLAN TL:Invalid input params on WLANTL_DisableUAPSDForAC" - " TL: %p STA: %d AC: %d", pTLCb, ucSTAId, ucAC )); + " TL: %pK STA: %d AC: %d", pTLCb, ucSTAId, ucAC )); return VOS_STATUS_E_FAULT; } @@ -13946,7 +13946,7 @@ WLANTL_RMC_SESSION* WLANTL_RmcLookUpRmcSession if (NULL == pMcastAddr) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "Sanity check failed pMcastAddr %p", pMcastAddr)); + "Sanity check failed pMcastAddr %pK", pMcastAddr)); return NULL; } @@ -14136,7 +14136,7 @@ WLANTL_EnableRMC if ( (NULL == pvosGCtx) || (NULL == pMcastTransmitterAddr) ) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL %s: Sanity check failed pvosGCtx %p aMcastAddr %p", + "WLAN TL %s: Sanity check failed pvosGCtx %pK aMcastAddr %pK", __func__, pvosGCtx, pMcastTransmitterAddr)); return VOS_STATUS_E_FAILURE; } @@ -14170,7 +14170,7 @@ WLANTL_DisableRMC if ((NULL == pvosGCtx) || (NULL == pMcastTransmitterAddr)) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL %s: Sanity check failed pvosGCtx %p aMcastAddr %p", + "WLAN TL %s: Sanity check failed pvosGCtx %pK aMcastAddr %pK", __func__, pvosGCtx, pMcastTransmitterAddr)); return VOS_STATUS_E_FAILURE; } @@ -14429,7 +14429,7 @@ WLANTL_SetMcastDuplicateDetection if (NULL == pvosGCtx) { TLLOGE(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR, - "WLAN TL %s: Sanity check failed pvosGCtx %p", + "WLAN TL %s: Sanity check failed pvosGCtx %pK", __func__, pvosGCtx)); return VOS_STATUS_E_FAILURE; } diff --git a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_ba.c b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_ba.c index ccfcfb0c6997..d4cc5fa58f26 100644 --- a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_ba.c +++ b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_ba.c @@ -525,7 +525,7 @@ WLANTL_BaSessionAdd pClientSTA->atlBAReorderInfo[ucTid].reorderBuffer = &(pTLCb->reorderBufferPool[idx]); pTLCb->reorderBufferPool[idx].isAvailable = VOS_FALSE; - TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"%dth buffer available, buffer PTR 0x%p", + TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"%dth buffer available, buffer PTR 0x%pK", idx, pClientSTA->atlBAReorderInfo[ucTid].reorderBuffer )); @@ -1096,7 +1096,7 @@ VOS_STATUS WLANTL_MSDUReorder v_U16_t reorderTime; if((NULL == pTLCb) || (*vosDataBuff == NULL)) { - TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR,"Invalid ARG pTLCb 0x%p, vosDataBuff 0x%p", + TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR,"Invalid ARG pTLCb 0x%pK, vosDataBuff 0x%pK", pTLCb, *vosDataBuff)); return VOS_STATUS_E_INVAL; } @@ -1734,7 +1734,7 @@ VOS_STATUS WLANTL_QueueCurrent { VOS_STATUS status = VOS_STATUS_SUCCESS; - TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"vos Packet has to be Qed 0x%p", + TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"vos Packet has to be Qed 0x%pK", *vosDataBuff)); if(NULL != pwBaReorder->reorderBuffer->arrayBuffer[ucSlotIndex]) { @@ -1818,7 +1818,7 @@ VOS_STATUS WLANTL_ChainFrontPkts fwdIndex = pwBaReorder->ucCIndex + pwBaReorder->winSize; } - TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"Current Index %d, FWD Index %d, reorderBuffer 0x%p", + TLLOG4(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_LOW,"Current Index %d, FWD Index %d, reorderBuffer 0x%pK", pwBaReorder->ucCIndex % pwBaReorder->winSize, fwdIndex % pwBaReorder->winSize, pwBaReorder->reorderBuffer)); diff --git a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_hosupport.c b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_hosupport.c index 950f3f0f32c6..b5c13e222a23 100644 --- a/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_hosupport.c +++ b/drivers/staging/prima/CORE/TL/src/wlan_qct_tl_hosupport.c @@ -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. * @@ -357,14 +357,14 @@ void WLANTL_HSDebugDisplay { if(VOS_MODULE_ID_HDD == hoSupport->registeredInd[idx].whoIsClient[sIdx]) { - TLLOG1(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Client HDD pCB %p, triggerEvt %d, RSSI %d", + TLLOG1(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Client HDD pCB %pK, triggerEvt %d, RSSI %d", hoSupport->registeredInd[idx].crossCBFunction[sIdx], hoSupport->registeredInd[idx].triggerEvent[sIdx], hoSupport->registeredInd[idx].rssiValue)); } else { - TLLOG1(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Client SME pCB %p, triggerEvt %d, RSSI %d", + TLLOG1(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Client SME pCB %pK, triggerEvt %d, RSSI %d", hoSupport->registeredInd[idx].crossCBFunction[sIdx], hoSupport->registeredInd[idx].triggerEvent[sIdx], hoSupport->registeredInd[idx].rssiValue)); @@ -1517,12 +1517,12 @@ VOS_STATUS WLANTL_HSRegRSSIIndicationCB { for(sIdx = 0; sIdx < WLANTL_HS_NUM_CLIENT; sIdx++) { - TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Reg CB P %p, registered CB P %p", + TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Reg CB P %pK, registered CB P %pK", crossCBFunction, hoSupport->registeredInd[idx].crossCBFunction[sIdx])); if(crossCBFunction == hoSupport->registeredInd[idx].crossCBFunction[sIdx]) { - TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Same RSSI %d, Same CB %p already registered", + TLLOGE(VOS_TRACE(VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO,"Same RSSI %d, Same CB %pK already registered", rssiValue, crossCBFunction)); WLANTL_HSDebugDisplay(pAdapter); THSRELEASELOCK("WLANTL_HSRegRSSIIndicationCB", &tlCtxt->hoSupport.hosLock); diff --git a/drivers/staging/prima/CORE/VOSS/src/vos_memory.c b/drivers/staging/prima/CORE/VOSS/src/vos_memory.c index ffb4a2e64cf3..83559aef1084 100644 --- a/drivers/staging/prima/CORE/VOSS/src/vos_memory.c +++ b/drivers/staging/prima/CORE/VOSS/src/vos_memory.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. * @@ -492,7 +492,7 @@ v_VOID_t vos_mem_copy( v_VOID_t *pDst, const v_VOID_t *pSrc, v_SIZE_t numBytes ) if ((pDst == NULL) || (pSrc==NULL)) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, - "%s called with NULL parameter, source:%p destination:%p", + "%s called with NULL parameter, source:%pK destination:%pK", __func__, pSrc, pDst); VOS_ASSERT(0); return; @@ -511,7 +511,7 @@ v_VOID_t vos_mem_move( v_VOID_t *pDst, const v_VOID_t *pSrc, v_SIZE_t numBytes ) if ((pDst == NULL) || (pSrc==NULL)) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, - "%s called with NULL parameter, source:%p destination:%p", + "%s called with NULL parameter, source:%pK destination:%pK", __func__, pSrc, pDst); VOS_ASSERT(0); return; @@ -531,7 +531,7 @@ v_BOOL_t vos_mem_compare( const v_VOID_t *pMemory1, const v_VOID_t *pMemory2, if ((pMemory1 == NULL) || (pMemory2==NULL)) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, - "%s called with NULL parameter, p1:%p p2:%p", + "%s called with NULL parameter, p1:%pK p2:%pK", __func__, pMemory1, pMemory2); VOS_ASSERT(0); return VOS_FALSE; diff --git a/drivers/staging/prima/CORE/VOSS/src/vos_nvitem.c b/drivers/staging/prima/CORE/VOSS/src/vos_nvitem.c index 7491afe2f626..6739075bfda5 100755 --- a/drivers/staging/prima/CORE/VOSS/src/vos_nvitem.c +++ b/drivers/staging/prima/CORE/VOSS/src/vos_nvitem.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. * @@ -1802,7 +1802,7 @@ VOS_STATUS vos_nv_readMultiMacAddress( v_U8_t *pMacAddress, (NULL == pMacAddress)) { VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, - " Invalid Parameter from NV Client macCount %d, pMacAddress %p", + " Invalid Parameter from NV Client macCount %d, pMacAddress %pK", macCount, pMacAddress); } diff --git a/drivers/staging/prima/CORE/VOSS/src/vos_packet.c b/drivers/staging/prima/CORE/VOSS/src/vos_packet.c index 733217687af9..013568284146 100644 --- a/drivers/staging/prima/CORE/VOSS/src/vos_packet.c +++ b/drivers/staging/prima/CORE/VOSS/src/vos_packet.c @@ -230,7 +230,7 @@ static void vos_pkti_replenish_raw_pool(void) didOne = VOS_TRUE; VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet replenished", + "VPKT [%d]: [%pK] Packet replenished", __LINE__, pVosPacket); } @@ -256,7 +256,7 @@ static void vos_pkti_replenish_raw_pool(void) pVosPacket->timestamp = vos_timer_get_system_ticks(); VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet replenish callback", + "VPKT [%d]: [%pK] Packet replenish callback", __LINE__, pVosPacket); callback = gpVosPacketContext->rxRawLowResourceInfo.callback; @@ -775,7 +775,7 @@ VOS_STATUS vos_pkt_get_packet( vos_pkt_t **ppPacket, } VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet allocated, type %d[%s]", + "VPKT [%d]: [%pK] Packet allocated, type %d[%s]", __LINE__, pVosPacket, pktType, vos_pkti_packet_type_str(pktType)); *ppPacket = pVosPacket; @@ -959,7 +959,7 @@ VOS_STATUS vos_pkt_wrap_data_packet( vos_pkt_t **ppPacket, pVosPacket->timestamp = vos_timer_get_system_ticks(); VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet allocated, type %s", + "VPKT [%d]: [%pK] Packet allocated, type %s", __LINE__, pVosPacket, vos_pkti_packet_type_str(pktType)); *ppPacket = pVosPacket; @@ -1393,12 +1393,12 @@ VOS_STATUS vos_pkt_return_packet( vos_pkt_t *pPacket ) if(callback) { // [DEBUG] - VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO,"VPKT [%d]: recycle %p", __LINE__, pPacket); + VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO,"VPKT [%d]: recycle %pK", __LINE__, pPacket); // yes, so rather than placing the packet back in the free pool // we will invoke the low resource callback VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet recycled, type %d[%s]", + "VPKT [%d]: [%pK] Packet recycled, type %d[%s]", __LINE__, pPacket, pPacket->packetType, vos_pkti_packet_type_str(pPacket->packetType)); @@ -1424,7 +1424,7 @@ VOS_STATUS vos_pkt_return_packet( vos_pkt_t *pPacket ) // this packet does not satisfy a low resource condition // so put it back in the appropriate free pool VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO, - "VPKT [%d]: [%p] Packet returned, type %d[%s]", + "VPKT [%d]: [%pK] Packet returned, type %d[%s]", __LINE__, pPacket, pPacket->packetType, vos_pkti_packet_type_str(pPacket->packetType)); mutex_lock(mlock); @@ -2137,7 +2137,7 @@ VOS_STATUS vos_pkt_push_head( vos_pkt_t *pPacket, { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL, "VPKT [%d]: Insufficient headroom, " - "head[%p], data[%p], req[%d]", + "head[%pK], data[%pK], req[%d]", __LINE__, skb->head, skb->data, dataSize); return VOS_STATUS_E_INVAL; } @@ -2219,7 +2219,7 @@ VOS_STATUS vos_pkt_reserve_head( vos_pkt_t *pPacket, { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_WARN, "VPKT [%d]: Insufficient headroom, " - "head[%p], data[%p], req[%d]", + "head[%pK], data[%pK], req[%d]", __LINE__, skb->head, skb->data, dataSize); if ((newskb = skb_realloc_headroom(skb, dataSize)) == NULL) { @@ -2301,7 +2301,7 @@ VOS_STATUS vos_pkt_reserve_head_fast( vos_pkt_t *pPacket, { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_WARN, "VPKT [%d]: Insufficient headroom, " - "head[%p], data[%p], req[%d]", + "head[%pK], data[%pK], req[%d]", __LINE__, skb->head, skb->data, dataSize); if ((newskb = skb_realloc_headroom(skb, dataSize)) == NULL) { @@ -2528,7 +2528,7 @@ VOS_STATUS vos_pkt_push_tail( vos_pkt_t *pPacket, { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL, "VPKT [%d]: Insufficient tailroom, " - "tail[%p], end[%p], req[%d]", + "tail[%pK], end[%pK], req[%d]", __LINE__, skb_tail_pointer(skb), skb_end_pointer(skb), dataSize); return VOS_STATUS_E_INVAL; @@ -2609,7 +2609,7 @@ VOS_STATUS vos_pkt_reserve_tail( vos_pkt_t *pPacket, { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL, "VPKT [%d]: Insufficient tailroom, " - "tail[%p], end[%p], req[%d]", + "tail[%pK], end[%pK], req[%d]", __LINE__, skb_tail_pointer(skb), skb_end_pointer(skb), dataSize); return VOS_STATUS_E_INVAL; diff --git a/drivers/staging/prima/CORE/VOSS/src/vos_timer.c b/drivers/staging/prima/CORE/VOSS/src/vos_timer.c index 44e8681f2609..8b6970da4c6c 100644 --- a/drivers/staging/prima/CORE/VOSS/src/vos_timer.c +++ b/drivers/staging/prima/CORE/VOSS/src/vos_timer.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013, 2015-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2013, 2015-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -780,7 +780,7 @@ VOS_STATUS vos_timer_start( vos_timer_t *timer, v_U32_t expirationTime ) unsigned long flags; VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO_HIGH, - "Timer Addr inside voss_start : 0x%p ", timer ); + "Timer Addr inside voss_start : 0x%pK ", timer ); // Check for invalid pointer if ( NULL == timer ) @@ -875,7 +875,7 @@ VOS_STATUS vos_timer_stop ( vos_timer_t *timer ) unsigned long flags; VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO_HIGH, - "%s: Timer Addr inside voss_stop : 0x%p",__func__,timer ); + "%s: Timer Addr inside voss_stop : 0x%pK",__func__,timer ); // Check for invalid pointer if ( NULL == timer ) diff --git a/drivers/staging/prima/CORE/WDA/src/wlan_qct_wda.c b/drivers/staging/prima/CORE/WDA/src/wlan_qct_wda.c index 83a5229007c4..1a20bf11233a 100644 --- a/drivers/staging/prima/CORE/WDA/src/wlan_qct_wda.c +++ b/drivers/staging/prima/CORE/WDA/src/wlan_qct_wda.c @@ -4888,7 +4888,7 @@ void WDA_DelSTASelfReqCallback(WDI_Status wdiStatus, tDelStaSelfParams *delStaSelfParams; VOS_TRACE(VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_INFO, - "<------ %s, wdiStatus: %d pWdaParams: %p", + "<------ %s, wdiStatus: %d pWdaParams: %pK", __func__, wdiStatus, pWdaParams); if (NULL == pWdaParams) @@ -12933,7 +12933,7 @@ void WDA_FTMCommandReqCallback(void *ftmCmdRspData, if((NULL == pWDA) || (NULL == ftmCmdRspData)) { VOS_TRACE(VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR, - "%s, invalid input %p, %p",__func__, pWDA, ftmCmdRspData); + "%s, invalid input %pK, %pK",__func__, pWDA, ftmCmdRspData); return; } /* Release Current FTM Command Request */ @@ -14183,7 +14183,7 @@ VOS_STATUS WDA_TxComplete( v_PVOID_t pVosContext, vos_pkt_t *pData, else { VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_WARN, - "%s:packet (%p) is already freed", + "%s:packet (%pK) is already freed", __func__, pData); //Return from here since we reaching here because the packet already timeout vos_lock_release(&wdaContext->mgmt_pkt_lock); @@ -14193,7 +14193,7 @@ VOS_STATUS WDA_TxComplete( v_PVOID_t pVosContext, vos_pkt_t *pData, else { wdaContext->mgmt_pktfree_fail++; VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR, - "%s:packet (%p) userData (%lx) is not freed", + "%s:packet (%pK) userData (%lx) is not freed", __func__, pData, uUserData); } vos_lock_release(&wdaContext->mgmt_pkt_lock); @@ -14242,14 +14242,14 @@ VOS_STATUS WDA_TxPacket(tWDA_CbContext *pWDA, if((NULL == pWDA)||(NULL == pFrmBuf)) { VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR, - "%s:pWDA %p or pFrmBuf %p is NULL", + "%s:pWDA %pK or pFrmBuf %pK is NULL", __func__,pWDA,pFrmBuf); VOS_ASSERT(0); return VOS_STATUS_E_FAILURE; } VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_INFO_HIGH, - "Tx Mgmt Frame Subtype: %d alloc(%p) txBdToken = %u", + "Tx Mgmt Frame Subtype: %d alloc(%pK) txBdToken = %u", pFc->subType, pFrmBuf, txBdToken); pMac = (tpAniSirGlobal )VOS_GET_MAC_CTXT(pWDA->pVosContext); if(NULL == pMac) diff --git a/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi.c b/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi.c index 4dd8722b8887..8efc5280419b 100644 --- a/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi.c +++ b/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi.c @@ -7543,7 +7543,7 @@ WDI_MainStart if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Start Started %p %p", + "Invalid parameters on Main Start Started %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7622,7 +7622,7 @@ WDI_MainClose if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Close %p %p", + "Invalid parameters on Main Close %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7660,7 +7660,7 @@ WDI_MainStartStarted if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Start %p %p", + "Invalid parameters on Main Start %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7716,7 +7716,7 @@ WDI_MainStopStarted if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Invalid parameters on Main Stop Started %p %p", + "Invalid parameters on Main Stop Started %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7755,7 +7755,7 @@ WDI_MainReqStarted if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Req Started %p %p", + "Invalid parameters on Main Req Started %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7794,7 +7794,7 @@ WDI_MainRsp if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Response %p %p", + "Invalid parameters on Main Response %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7873,7 +7873,7 @@ WDI_MainStopStopped if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Invalid parameters on Main Stop Stopped %p %p", + "Invalid parameters on Main Stop Stopped %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7917,7 +7917,7 @@ WDI_MainStartBusy if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Start in BUSY %p %p", + "Invalid parameters on Main Start in BUSY %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7958,7 +7958,7 @@ WDI_MainStopBusy if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Stop in BUSY %p %p", + "Invalid parameters on Main Stop in BUSY %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -7997,7 +7997,7 @@ WDI_MainReqBusy if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Request in BUSY %p %p", + "Invalid parameters on Main Request in BUSY %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -8036,7 +8036,7 @@ WDI_MainCloseBusy if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Invalid parameters on Main Close in BUSY %p %p", + "Invalid parameters on Main Close in BUSY %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -8075,7 +8075,7 @@ WDI_MainShutdown if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Invalid parameters on Main Start %p %p", + "Invalid parameters on Main Start %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -8114,7 +8114,7 @@ WDI_MainShutdownBusy if (( NULL == pWDICtx ) || ( NULL == pEventData )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Invalid parameters on Main Start %p %p", + "Invalid parameters on Main Start %pK %pK", pWDICtx, pEventData); return WDI_STATUS_E_FAILURE; } @@ -8193,7 +8193,7 @@ WDI_ProcessStartReq ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in start req %p %p %p", + "Unable to get send buffer in start req %pK %pK %pK", pEventData, pwdiStartParams, wdiStartRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -8282,7 +8282,7 @@ WDI_ProcessStopReq ( usSendSize < (usDataOffset + sizeof(halStopReq.stopReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in stop req %p %p %p", + "Unable to get send buffer in stop req %pK %pK %pK", pEventData, pwdiStopParams, wdiStopRspCb); WDI_ASSERT(0); goto failRequest; @@ -8502,7 +8502,7 @@ WDI_ProcessInitScanReq ( usSendSize < (usDataOffset + sizeof(halInitScanConReqMsg.initScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in init scan req %p %p %p", + "Unable to get send buffer in init scan req %pK %pK %pK", pEventData, pwdiInitScanParams, wdiInitScanRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -8555,7 +8555,7 @@ WDI_ProcessInitScanReq ( usSendSize < (usDataOffset + sizeof(halInitScanReqMsg.initScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in init scan req %p %p %p", + "Unable to get send buffer in init scan req %pK %pK %pK", pEventData, pwdiInitScanParams, wdiInitScanRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -8678,7 +8678,7 @@ WDI_ProcessStartScanReq ( usSendSize < (usDataOffset + sizeof(halStartScanReqMsg.startScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start scan req %p %p %p", + "Unable to get send buffer in start scan req %pK %pK %pK", pEventData, pwdiStartScanParams, wdiStartScanRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -8775,7 +8775,7 @@ WDI_ProcessEndScanReq ( usSendSize < (usDataOffset + sizeof(halEndScanReqMsg.endScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start scan req %p %p %p", + "Unable to get send buffer in start scan req %pK %pK %pK", pEventData, pwdiEndScanParams, wdiEndScanRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -8890,7 +8890,7 @@ WDI_ProcessFinishScanReq ( usSendSize < (usDataOffset + sizeof(halFinishScanReqMsg.finishScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start scan req %p %p %p", + "Unable to get send buffer in start scan req %pK %pK %pK", pEventData, pwdiFinishScanParams, wdiFinishScanRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9032,7 +9032,7 @@ WDI_ProcessBSSSessionJoinReq ( usSendSize < (usDataOffset + sizeof(halJoinReqMsg.joinReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in join req %p %p %p", + "Unable to get send buffer in join req %pK %pK %pK", pUserData, pwdiJoinParams, wdiJoinRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9313,7 +9313,7 @@ WDI_ProcessConfigBSSReq ( usSendSize < (usDataOffset + uMsgSize ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in config bss req %p %p %p", + "Unable to get send buffer in config bss req %pK %pK %pK", pEventData, pwdiConfigBSSParams, wdiConfigBSSRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9480,7 +9480,7 @@ WDI_ProcessDelBSSReq ( usSendSize < (usDataOffset + sizeof(halBssReqMsg.deleteBssParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start req %p %p %p", + "Unable to get send buffer in start req %pK %pK %pK", pEventData, pwdiDelBSSParams, wdiDelBSSRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9632,7 +9632,7 @@ WDI_ProcessPostAssocReq ( usSendSize < (usDataOffset + uMsgSize ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start req %p %p %p", + "Unable to get send buffer in start req %pK %pK %pK", pEventData, pwdiPostAssocParams, wdiPostAssocRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9814,7 +9814,7 @@ WDI_ProcessDelSTAReq ( usSendSize < (usDataOffset + sizeof(halDelStaReqMsg.delStaParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in start req %p %p %p", + "Unable to get send buffer in start req %pK %pK %pK", pEventData, pwdiDelSTAParams, wdiDelSTARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -9934,7 +9934,7 @@ WDI_ProcessSetBssKeyReq ( usSendSize < (usDataOffset + sizeof(halSetBssKeyReqMsg.setBssKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiSetBSSKeyParams, wdiSetBSSKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10104,7 +10104,7 @@ WDI_ProcessRemoveBssKeyReq ( usSendSize < (usDataOffset + sizeof(halRemoveBssKeyReqMsg.removeBssKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiRemoveBSSKeyParams, wdiRemoveBSSKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10240,7 +10240,7 @@ WDI_ProcessSetStaKeyReq ( usSendSize < (usDataOffset + sizeof(halSetStaKeyReqMsg.setStaKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiSetSTAKeyParams, wdiSetSTAKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10421,7 +10421,7 @@ WDI_ProcessRemoveStaKeyReq ( usSendSize < (usDataOffset + sizeof(halRemoveStaKeyReqMsg.removeStaKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiRemoveSTAKeyParams, wdiRemoveSTAKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10562,7 +10562,7 @@ WDI_ProcessSetStaBcastKeyReq ( usSendSize < (usDataOffset + sizeof(halSetStaKeyReqMsg.setStaKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiSetSTAKeyParams, wdiSetSTAKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10742,7 +10742,7 @@ WDI_ProcessRemoveStaBcastKeyReq ( usSendSize < (usDataOffset + sizeof(halRemoveStaBcastKeyReqMsg.removeStaKeyParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiRemoveSTABcastKeyParams, wdiRemoveSTAKeyRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -10885,7 +10885,7 @@ WDI_ProcessAddTSpecReq ( usSendSize < (usDataOffset + sizeof(halAddTsParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiAddTSParams, wdiAddTSRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11058,7 +11058,7 @@ WDI_ProcessDelTSpecReq ( usSendSize < (usDataOffset + sizeof(pwdiDelTSParams->wdiDelTSInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiDelTSParams, wdiDelTSRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11169,7 +11169,7 @@ WDI_ProcessUpdateEDCAParamsReq ( usSendSize < (usDataOffset + sizeof(pwdiUpdateEDCAParams->wdiEDCAInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiUpdateEDCAParams, wdiUpdateEDCARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11297,7 +11297,7 @@ WDI_ProcessAddBASessionReq (usDataOffset + sizeof(halAddBASessionReq.addBASessionParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Add BA session req %p %p %p", + "Unable to get send buffer in Add BA session req %pK %pK %pK", pEventData, pwdiAddBASessionParams, wdiAddBASessionRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11433,7 +11433,7 @@ WDI_ProcessDelBAReq ( usSendSize < (usDataOffset + sizeof(halDelBAparam) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer for DEL BA req %p %p %p", + "Unable to get send buffer for DEL BA req %pK %pK %pK", pEventData, pwdiDelBAParams, wdiDelBARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11535,7 +11535,7 @@ WDI_ProcessTSMStatsReq ( usSendSize < (usDataOffset + sizeof(halTsmStatsReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiTSMParams, wdiTSMRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11611,7 +11611,7 @@ WDI_ProcessFlushAcReq ( usSendSize < (usDataOffset + sizeof(pwdiFlushAcParams->wdiFlushAcInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiFlushAcParams, wdiFlushAcRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11681,7 +11681,7 @@ WDI_ProcessBtAmpEventReq ( usSendSize < (usDataOffset + sizeof(haltBtAmpEventMsg.btAmpEventParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in BT AMP event req %p %p %p", + "Unable to get send buffer in BT AMP event req %pK %pK %pK", pEventData, pwdiBtAmpEventParams, wdiBtAmpEventRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11755,7 +11755,7 @@ WDI_ProcessAddSTASelfReq ( usSendSize < (usDataOffset + sizeof(tAddStaSelfParams_V1) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in ADD STA SELF REQ %p %p %p", + "Unable to get send buffer in ADD STA SELF REQ %pK %pK %pK", pEventData, pwdiAddSTASelfReqParams, wdiAddSTASelfReqRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11847,7 +11847,7 @@ WDI_ProcessDelSTASelfReq (usDataOffset + sizeof(pwdiDelStaSelfReqParams->wdiDelStaSelfInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Del Sta Self req %p %p %p", + "Unable to get send buffer in Del Sta Self req %pK %pK %pK", pEventData, pwdiDelStaSelfReqParams, wdiDelStaSelfRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11924,7 +11924,7 @@ WDI_ProcessStartOemDataReq (usSendSize < (usDataOffset + reqLen))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Start Oem Data req %p %p %p", + "Unable to get send buffer in Start Oem Data req %pK %pK %pK", pEventData, pwdiOemDataReqParams, wdiOemDataRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -11998,7 +11998,7 @@ WDI_ProcessHostResumeReq (usSendSize < (usDataOffset + sizeof(halResumeReqParams)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Start Oem Data req %p %p %p", + "Unable to get send buffer in Start Oem Data req %pK %pK %pK", pEventData, pwdiHostResumeParams, wdiHostResumeRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -12072,7 +12072,7 @@ WDI_ProcessSetTxPerTrackingReq ( usSendSize < (usDataOffset + sizeof(halTxPerTrackingReqParam) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set tx per tracking req %p %p %p", + "Unable to get send buffer in set tx per tracking req %pK %pK %pK", pEventData, pwdiSetTxPerTrackingReqParams, pwdiSetTxPerTrackingRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -12554,7 +12554,7 @@ WDI_ProcessChannelSwitchReq ( usSendSize < (usDataOffset + sizeof(halSwitchChannelReq.switchChannelParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in channel switch req %p %p %p", + "Unable to get send buffer in channel switch req %pK %pK %pK", pEventData, pwdiSwitchChParams, wdiSwitchChRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -12643,7 +12643,7 @@ WDI_Status WDI_ProcessChannelSwitchReq_V1 sizeof(halSwitchChannelReq.switchChannelParams_V1) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in channel switch req %p %p %p", + "Unable to get send buffer in channel switch req %pK %pK %pK", pEventData, pwdiSwitchChParams, wdiSwitchChRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -12788,7 +12788,7 @@ WDI_ProcessConfigStaReq ( usSendSize < (usDataOffset + uMsgSize ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in config sta req %p %p %p", + "Unable to get send buffer in config sta req %pK %pK %pK", pEventData, pwdiConfigSTAParams, wdiConfigSTARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -12940,7 +12940,7 @@ WDI_ProcessSetLinkStateReq ( usSendSize < (usDataOffset + sizeof(halLinkStateReqMsg) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiSetLinkParams, wdiSetLinkRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13072,7 +13072,7 @@ WDI_ProcessGetStatsReq ( usSendSize < (usDataOffset + sizeof(halStatsReqMsg.statsReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiGetStatsParams, wdiGetStatsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13197,7 +13197,7 @@ WDI_ProcessGetRoamRssiReq ( usSendSize < (usDataOffset + sizeof(halRssiRoamReqMsg.roamRssiReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiGetRoamRssiParams, wdiGetStatsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13271,7 +13271,7 @@ WDI_ProcessUpdateCfgReq ( usSendSize < (usDataOffset + pwdiUpdateCfgParams->uConfigBufferLen))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiUpdateCfgParams, wdiUpdateCfgRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13401,7 +13401,7 @@ WDI_ProcessAddBAReq (usDataOffset + sizeof(halAddBAReq.addBAParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Add BA req %p %p %p", + "Unable to get send buffer in Add BA req %pK %pK %pK", pEventData, pwdiAddBAParams, wdiAddBARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13543,7 +13543,7 @@ WDI_ProcessTriggerBAReq pwdiTriggerBAParams->wdiTriggerBAInfoType.usBACandidateCnt) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Trigger BA req %p %p %p", + "Unable to get send buffer in Trigger BA req %pK %pK %pK", pEventData, pwdiTriggerBAParams, wdiTriggerBARspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13634,7 +13634,7 @@ WDI_ProcessUpdateBeaconParamsReq ( usSendSize < (usDataOffset + sizeof(halUpdateBeaconParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiUpdateBeaconParams, wdiUpdateBeaconParamsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13736,7 +13736,7 @@ WDI_ProcessSendBeaconParamsReq ( usSendSize < (usDataOffset + sizeof(halSendBeaconReq.sendBeaconParam) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in send beacon req %p %p %p", + "Unable to get send buffer in send beacon req %pK %pK %pK", pEventData, pwdiSendBeaconParams, wdiSendBeaconParamsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -13843,7 +13843,7 @@ WDI_ProcessUpdateProbeRspTemplateReq ( usSendSize < (usDataOffset + uMsgSize))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiUpdateProbeRespTmplParams, wdiUpdateProbeRespTmplRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14019,7 +14019,7 @@ if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_SET_MAX_TX_POWER_ ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Unable to get Set Max Tx Power req %p %p %p", + "Unable to get Set Max Tx Power req %pK %pK %pK", pEventData, pwdiSetMaxTxPowerParams, wdiSetMaxTxPowerRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14107,7 +14107,7 @@ WDI_Status WDI_ProcessSetMaxTxPowerPerBandReq (usDataOffset + sizeof(tSetMaxTxPwrPerBandParams)))) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Unable to get Set Max Tx Power Per Band req %p %p %p", + "Unable to get Set Max Tx Power Per Band req %pK %pK %pK", pEventData, pwdiSetMaxTxPowerPerBandParams, wdiSetMaxTxPowerPerBandRspCb); WDI_ASSERT(0); @@ -14185,7 +14185,7 @@ WDI_Status WDI_ProcessSetTxPowerReq ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Unable to get Set Max Tx Power req %p %p %p", + "Unable to get Set Max Tx Power req %pK %pK %pK", pEventData, pwdiSetTxPowerParams, wdiSetTxPowerRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14258,7 +14258,7 @@ WDI_ProcessP2PGONOAReq ( usSendSize < (usDataOffset + sizeof(halSetP2PGONOAParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set P2P GO NOA REQ %p %p %p", + "Unable to get send buffer in set P2P GO NOA REQ %pK %pK %pK", pEventData, pwdiP2PGONOAReqParams, wdiP2PGONOAReqRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14349,7 +14349,7 @@ WDI_ProcessTdlsLinkEstablishReq ( usSendSize < (usDataOffset + sizeof(halSetTDLSLinkEstablishParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set P2P GO NOA REQ %p %p %p", + "Unable to get send buffer in set P2P GO NOA REQ %pK %pK %pK", pEventData, pwdiTDLSLinkEstablishReqParams, wdiTDLSLinkEstablishReqRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14455,7 +14455,7 @@ WDI_ProcessTdlsChanSwitchReq ( usSendSize < (usDataOffset + sizeof(halSetTDLSChanSwitchParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Channel Switch REQ %p %p %p", + "Unable to get send buffer in Channel Switch REQ %pK %pK %pK", pEventData, pwdiTDLSChanSwitchReqParams, wdiTDLSChanSwitchReqRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14590,7 +14590,7 @@ WDI_ProcessEnterImpsReq ( usSendSize < (usDataOffset ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Enter IMPS req %p %p", + "Unable to get send buffer in Enter IMPS req %pK %pK", pEventData, wdiEnterImpsRspCb); WDI_ASSERT(0); goto failRequest; @@ -14704,7 +14704,7 @@ WDI_ProcessExitImpsReq ( usSendSize < (usDataOffset ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Exit IMPS req %p %p", + "Unable to get send buffer in Exit IMPS req %pK %pK", pEventData, wdiExitImpsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14768,7 +14768,7 @@ WDI_ProcessEnterBmpsReq ( usSendSize < (usDataOffset + sizeof(enterBmpsReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Enter BMPS req %p %p %p", + "Unable to get send buffer in Enter BMPS req %pK %pK %pK", pEventData, pwdiEnterBmpsReqParams, wdiEnterBmpsRspCb); WDI_ASSERT(0); goto failRequest; @@ -14892,7 +14892,7 @@ WDI_ProcessExitBmpsReq ( usSendSize < (usDataOffset + sizeof(exitBmpsReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Exit BMPS req %p %p %p", + "Unable to get send buffer in Exit BMPS req %pK %pK %pK", pEventData, pwdiExitBmpsReqParams, wdiExitBmpsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -14963,7 +14963,7 @@ WDI_ProcessEnterUapsdReq ( usSendSize < (usDataOffset + sizeof(enterUapsdReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Enter UAPSD req %p %p %p", + "Unable to get send buffer in Enter UAPSD req %pK %pK %pK", pEventData, pwdiEnterUapsdReqParams, wdiEnterUapsdRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15042,7 +15042,7 @@ WDI_ProcessExitUapsdReq ( usSendSize < (usDataOffset + sizeof(wpt_uint8)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Exit UAPSD req %p %p", + "Unable to get send buffer in Exit UAPSD req %pK %pK", pEventData, wdiExitUapsdRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15112,7 +15112,7 @@ WDI_ProcessSetUapsdAcParamsReq ( usSendSize < (usDataOffset + sizeof(uapsdAcParamsReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set UAPSD params req %p %p %p", + "Unable to get send buffer in Set UAPSD params req %pK %pK %pK", pEventData, pwdiSetUapsdAcParams, wdiSetUapsdAcParamsCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15186,7 +15186,7 @@ WDI_ProcessUpdateUapsdParamsReq ( usSendSize < (usDataOffset + sizeof(pwdiUpdateUapsdReqParams->wdiUpdateUapsdInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Update UAPSD params req %p %p %p", + "Unable to get send buffer in Update UAPSD params req %pK %pK %pK", pEventData, pwdiUpdateUapsdReqParams, wdiUpdateUapsdParamsCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15254,7 +15254,7 @@ WDI_ProcessConfigureRxpFilterReq ( usSendSize < (usDataOffset + sizeof(halRxpFilterParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set UAPSD params req %p %p %p", + "Unable to get send buffer in Set UAPSD params req %pK %pK %pK", pEventData, pwdiRxpFilterParams, wdiConfigureRxpFilterCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15326,7 +15326,7 @@ WDI_ProcessSetBeaconFilterReq ( usSendSize < (usDataOffset + sizeof(pwdiBeaconFilterParams->wdiBeaconFilterInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set beacon filter req %p %p %p", + "Unable to get send buffer in Set beacon filter req %pK %pK %pK", pEventData, pwdiBeaconFilterParams, wdiBeaconFilterCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15396,7 +15396,7 @@ WDI_ProcessRemBeaconFilterReq ( usSendSize < (usDataOffset + sizeof(pwdiBeaconFilterParams->wdiBeaconFilterInfo) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in remove beacon filter req %p %p %p", + "Unable to get send buffer in remove beacon filter req %pK %pK %pK", pEventData, pwdiBeaconFilterParams, wdiBeaconFilterCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15465,7 +15465,7 @@ WDI_ProcessSetRSSIThresholdsReq ( usSendSize < (usDataOffset + sizeof(rssiThresholdsReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in remove beacon filter req %p %p %p", + "Unable to get send buffer in remove beacon filter req %pK %pK %pK", pEventData, pwdiRSSIThresholdsParams, wdiRSSIThresholdsCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -15569,7 +15569,7 @@ WDI_ProcessHostOffloadReq ( usSendSize < (usDataOffset + sizeof(hostOffloadParams) + sizeof(nsOffloadParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in host offload req %p %p %p", + "Unable to get send buffer in host offload req %pK %pK %pK", pEventData, pwdiHostOffloadParams, wdiHostOffloadCb); WDI_ASSERT(0); goto failRequest; @@ -15731,7 +15731,7 @@ WDI_ProcessKeepAliveReq ( usSendSize < (usDataOffset + sizeof(keepAliveReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Unable to get send buffer in keep alive req %p %p %p", + "Unable to get send buffer in keep alive req %pK %pK %pK", pEventData, pwdiKeepAliveParams, wdiKeepAliveCb); WDI_ASSERT(0); goto failRequest; @@ -15849,7 +15849,7 @@ WDI_ProcessWowlAddBcPtrnReq ( usSendSize < (usDataOffset + sizeof(wowlAddBcPtrnReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Wowl add bc ptrn req %p %p %p", + "Unable to get send buffer in Wowl add bc ptrn req %pK %pK %pK", pEventData, pwdiWowlAddBcPtrnParams, wdiWowlAddBcPtrnCb); WDI_ASSERT(0); goto failRequest; @@ -15973,7 +15973,7 @@ WDI_ProcessWowlDelBcPtrnReq ( usSendSize < (usDataOffset + sizeof(wowlDelBcPtrnReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Wowl del bc ptrn req %p %p %p", + "Unable to get send buffer in Wowl del bc ptrn req %pK %pK %pK", pEventData, pwdiWowlDelBcPtrnParams, wdiWowlDelBcPtrnCb); WDI_ASSERT(0); goto failRequest; @@ -16064,7 +16064,7 @@ WDI_ProcessWowlEnterReq ( usSendSize < (usDataOffset + sizeof(wowlEnterReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Wowl enter req %p %p %p", + "Unable to get send buffer in Wowl enter req %pK %pK %pK", pEventData, pwdiWowlEnterParams, wdiWowlEnterCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -16174,7 +16174,7 @@ WDI_ProcessWowlExitReq ( usSendSize < (usDataOffset + sizeof(wowlExitparams)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Wowl Exit req %p %p", + "Unable to get send buffer in Wowl Exit req %pK %pK", pEventData, wdiWowlExitCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -16239,7 +16239,7 @@ WDI_ProcessConfigureAppsCpuWakeupStateReq ( usSendSize < (usDataOffset + sizeof(pwdiAppsCpuWakeupStateParams->bIsAppsAwake) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Apps CPU Wakeup State req %p %p %p", + "Unable to get send buffer in Apps CPU Wakeup State req %pK %pK %pK", pEventData, pwdiAppsCpuWakeupStateParams, wdiConfigureAppsCpuWakeupStateCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -16365,7 +16365,7 @@ WDI_ProcessAggrAddTSpecReq ( usSendSize < (usDataOffset + sizeof(tAggrAddTsParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pwdiAggrAddTSParams, wdiAggrAddTSRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -18926,7 +18926,7 @@ WDI_ProcessStartOemDataRsp if(NULL == wdiOemDataRspParams) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Failed to allocate memory in OEM DATA Response %p %p %p ", + "Failed to allocate memory in OEM DATA Response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -19391,7 +19391,7 @@ WDI_ProcessGetStatsRsp if(NULL == wdiGetStatsRsp) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Failed to allocate memory in Get Stats Response %p %p %p ", + "Failed to allocate memory in Get Stats Response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -19648,7 +19648,7 @@ WDI_ProcessTriggerBARsp if(NULL == wdiTriggerBARsp) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Failed to allocate memory in Trigger BA Response %p %p %p ", + "Failed to allocate memory in Trigger BA Response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -19685,7 +19685,7 @@ WDI_ProcessTriggerBARsp if(NULL == wdiTriggerBARsp) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Failed to allocate memory in Trigger BA Response %p %p %p ", + "Failed to allocate memory in Trigger BA Response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -22563,7 +22563,7 @@ WDI_ProcessHALDumpCmdReq (usDataOffset + sizeof(halDumpCmdReqMsg.dumpCmdReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in HAL Dump Command req %p %p %p", + "Unable to get send buffer in HAL Dump Command req %pK %pK %pK", pEventData, pwdiHALDumpCmdParams, wdiHALDumpCmdRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -22905,7 +22905,7 @@ WDI_ProcessRequest ( NULL != pfnReqProcTbl[pEventData->wdiRequest] )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, - "Calling request processing function for req %s (%d) %p", + "Calling request processing function for req %s (%d) %pK", WDI_getReqMsgString(pEventData->wdiRequest), pEventData->wdiRequest, pfnReqProcTbl[pEventData->wdiRequest]); return pfnReqProcTbl[pEventData->wdiRequest](pWDICtx, pEventData); @@ -23367,7 +23367,7 @@ WDI_ProcessResponse ( NULL != pfnRspProcTbl[pEventData->wdiResponse] )) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, - "Calling response processing function for resp %s (%d) %p", + "Calling response processing function for resp %s (%d) %pK", WDI_getRespMsgString(pEventData->wdiResponse), pEventData->wdiResponse, pfnRspProcTbl[pEventData->wdiResponse]); return pfnRspProcTbl[pEventData->wdiResponse](pWDICtx, pEventData); @@ -24442,7 +24442,7 @@ WDI_Status WDI_SendNvBlobReq (usDataOffset + sizeof(halNvImgDownloadParam.nvImageReqParams) + usCurrentFragmentSize ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in NV Download req %p %p ", + "Unable to get send buffer in NV Download req %pK %pK ", pEventData, pwdiNvDownloadReqParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -26551,7 +26551,7 @@ WDI_PackPreferredNetworkList ( usSendSize < (usDataOffset + sizeof(tPrefNetwListParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set PNO req %p", + "Unable to get send buffer in Set PNO req %pK", pwdiPNOScanReqParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -26704,7 +26704,7 @@ WDI_PackPreferredNetworkListNew ( usSendSize < (usDataOffset + sizeof(tPrefNetwListParamsNew) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set PNO req %p", + "Unable to get send buffer in Set PNO req %pK", pwdiPNOScanReqParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -26954,7 +26954,7 @@ WDI_ProcessSetRssiFilterReq ( usSendSize < (usDataOffset + sizeof(ucRssiThreshold) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set PNO req %p %p %p", + "Unable to get send buffer in Set PNO req %pK %pK %pK", pEventData, pwdiRssiFilterReqParams, wdiRssiFilterCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -27144,7 +27144,7 @@ WDI_PackRoamScanOffloadParams ( usSendSize < (usDataOffset + sizeof(tRoamCandidateListParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Start Roam Candidate Lookup Req %p", + "Unable to get send buffer in Start Roam Candidate Lookup Req %pK", pwdiRoamScanOffloadReqParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -27585,7 +27585,7 @@ WDI_PackUpdateScanParamsReq ( usSendSize < (usDataOffset + sizeof(updateScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Update Scan Params req %p", + "Unable to get send buffer in Update Scan Params req %pK", pwdiUpdateScanParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -27665,7 +27665,7 @@ WDI_PackUpdateScanParamsReqEx ( usSendSize < (usDataOffset + sizeof(updateScanParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Update Scan Params Ex req %p", + "Unable to get send buffer in Update Scan Params Ex req %pK", pwdiUpdateScanParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -27824,7 +27824,7 @@ WDI_ProcessUpdateChannelParamsReq ( usSendSize < (usDataOffset + usUpdateChanParamSize))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Update Channel Params req %p", + "Unable to get send buffer in Update Channel Params req %pK", pwdiUpdateChanListParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -28063,7 +28063,7 @@ WDI_ProcessUpdateScanParamsRsp } WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO, - "%s: Process UPD scan params ptr : %p", + "%s: Process UPD scan params ptr : %pK", __func__, pEventData->pEventData); wdiUpdateScanParamsCb = (WDI_UpdateScanParamsCb)pWDICtx->pfncRspCB; @@ -28325,7 +28325,7 @@ WDI_Process8023MulticastListReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Unable to get send buffer in " - "WDI_Process8023MulticastListReq() %p %p %p", + "WDI_Process8023MulticastListReq() %pK %pK %pK", pEventData, pwdiFltPktSetMcListReqParamsType, wdi8023MulticastListCb); wpalMemoryFree(pRcvFltMcAddrListType); @@ -28431,7 +28431,7 @@ WDI_ProcessReceiveFilterSetFilterReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Failed to allocate memory for " - "tHalRcvPktFilterCfgType: %p %p %p ", + "tHalRcvPktFilterCfgType: %pK %pK %pK ", __func__, pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -28450,7 +28450,7 @@ WDI_ProcessReceiveFilterSetFilterReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Unable to get send buffer in " - "WDI_ProcessReceiveFilterSetFilterReq() %p %p %p", + "WDI_ProcessReceiveFilterSetFilterReq() %pK %pK %pK", pEventData, pwdiSetRcvPktFilterReqInfo, wdiReceiveFilterSetFilterCb); WDI_ASSERT(0); @@ -28459,7 +28459,7 @@ WDI_ProcessReceiveFilterSetFilterReq } WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "UsData Off %d UsSend %d cfg %p",usDataOffset, + "UsData Off %d UsSend %d cfg %pK",usDataOffset, usSendSize,pSessRcvPktFilterCfg); pSessRcvPktFilterCfg->filterId = pwdiSetRcvPktFilterReqInfo->wdiPktFilterCfg.filterId; @@ -28548,7 +28548,7 @@ WDI_ProcessReceiveFilterSetFilterReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "%s: Failed to allocate memory for " - "tHalRcvPktFilterCfgType: %p %p %p ", + "tHalRcvPktFilterCfgType: %pK %pK %pK ", __func__, pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -28566,7 +28566,7 @@ WDI_ProcessReceiveFilterSetFilterReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Unable to get send buffer in " - "WDI_ProcessReceiveFilterSetFilterReq() %p %p %p", + "WDI_ProcessReceiveFilterSetFilterReq() %pK %pK %pK", pEventData, pwdiSetRcvPktFilterReqInfo, wdiReceiveFilterSetFilterCb); WDI_ASSERT(0); @@ -28723,7 +28723,7 @@ WDI_ProcessFilterMatchCountReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Unable to get send buffer in " - "WDI_ProcessFilterMatchCountReq() %p %p %p", + "WDI_ProcessFilterMatchCountReq() %pK %pK %pK", pEventData, pwdiRcvFltPktMatchCntReqParamsType, wdiFilterMatchCountCb); WDI_ASSERT(0); @@ -28815,7 +28815,7 @@ WDI_ProcessReceiveFilterClearFilterReq { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, "Unable to get send buffer in " - "WDI_ProcessReceiveFilterClearFilterReq() %p %p %p", + "WDI_ProcessReceiveFilterClearFilterReq() %pK %pK %pK", pEventData, pwdiRcvFltPktClearReqParamsType, wdiRcvFltPktClearFilterCb); WDI_ASSERT(0); @@ -29223,7 +29223,7 @@ WDI_ProcessSetPowerParamsReq ( usSendSize < (usDataOffset + sizeof(powerParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set PNO req %p %p %p", + "Unable to get send buffer in Set PNO req %pK %pK %pK", pEventData, pwdiPowerParamsReqParams, wdiPowerParamsCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -29485,7 +29485,7 @@ WDI_ProcessDHCPStartInd ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in DHCP Start req %p ", + "Unable to get send buffer in DHCP Start req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -29558,7 +29558,7 @@ WDI_ProcessDHCPStopInd ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in DHCP Start req %p ", + "Unable to get send buffer in DHCP Start req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -29631,7 +29631,7 @@ WDI_ProcessTXFailMonitor ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in DHCP Start req %p ", + "Unable to get send buffer in DHCP Start req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -29821,7 +29821,7 @@ WDI_ProcessGTKOffloadReq ( usSendSize < (usDataOffset + sizeof(gtkOffloadReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in GTK offload req %p %p %p", + "Unable to get send buffer in GTK offload req %pK %pK %pK", pEventData, pwdiGtkOffloadReqMsg, wdiGtkOffloadCb); WDI_ASSERT(0); goto failRequest; @@ -29920,7 +29920,7 @@ WDI_ProcessGTKOffloadGetInfoReq ( usSendSize < ( usDataOffset + sizeof(halGtkOffloadGetInfoReqParams)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in WDI_ProcessGTKOffloadGetInfoReq() %p %p %p", + "Unable to get send buffer in WDI_ProcessGTKOffloadGetInfoReq() %pK %pK %pK", pEventData, pwdiGtkOffloadGetInfoReqMsg, wdiGtkOffloadGetInfoCb); WDI_ASSERT(0); goto failRequest; @@ -30150,7 +30150,7 @@ WDI_ProcessWakeReasonInd if(NULL == pWdiInd) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "%s: Failed to allocate memory for WDI_WakeReasonIndType: %p %p %p ", + "%s: Failed to allocate memory for WDI_WakeReasonIndType: %pK %pK %pK ", __func__, pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -30290,7 +30290,7 @@ WDI_ProcessSetTmLevelReq ( usSendSize < (usDataOffset + sizeof(halTmMsg) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in Set PNO req %p %p %p", + "Unable to get send buffer in Set PNO req %pK %pK %pK", pEventData, pwdiSetTmLevelReq, wdiSetTmLevelCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -30465,7 +30465,7 @@ WDI_ProcessFeatureCapsExchangeReq ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in feat caps exchange req %p %p", + "Unable to get send buffer in feat caps exchange req %pK %pK", pEventData, (tWlanFeatCaps *)pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -31409,7 +31409,7 @@ WDI_ProcessRateUpdateInd sizeof(tHalRateUpdateParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in Rate Update Indication %p ", + "Unable to get send buffer in Rate Update Indication %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -31702,7 +31702,7 @@ WDI_ProcessRMCRulerReq sizeof(tHalRmcRulerReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in Ruler Req %p ", + "Unable to get send buffer in Ruler Req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -31780,7 +31780,7 @@ WDI_ProcessRMCUpdateInd sizeof(tHalRmcUpdateIndParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in RMC Update Indication %p ", + "Unable to get send buffer in RMC Update Indication %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -31911,7 +31911,7 @@ WDI_ProcessIbssPeerInfoReq sizeof(tHalIbssPeerInfoReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in IBSS Peer Info Req %p ", + "Unable to get send buffer in IBSS Peer Info Req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -32022,7 +32022,7 @@ WDI_ProcessIbssPeerInfoRsp if (NULL == pPeerInfoParams) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "Failed to allocate memory in ibss peer info response %p %p %p ", + "Failed to allocate memory in ibss peer info response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); wdiPeerInfoRspParams.wdiPeerInfoParams = NULL; goto error; @@ -32108,7 +32108,7 @@ WDI_ProcessStopBatchScanInd ( usSendSize < (usDataOffset + sizeof(tHalBatchScanStopIndParam)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in stop batch scan ind %p ", + "Unable to get send buffer in stop batch scan ind %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -32178,7 +32178,7 @@ WDI_ProcessTriggerBatchScanResultInd ( usSendSize < (usDataOffset + sizeof(tHalBatchScanTriggerResultParam)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in stop batch scan ind %p ", + "Unable to get send buffer in stop batch scan ind %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -32243,7 +32243,7 @@ WDI_ProcessSetBatchScanRsp if (NULL == pSetBatchScanRsp) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Failed to allocate memory in set batch scan response %p %p %p ", + "Failed to allocate memory in set batch scan response %pK %pK %pK ", pWDICtx, pEventData, pEventData->pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -32763,7 +32763,7 @@ WDI_ProcessHT40OBSSScanInd ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in HT40 OBSS Start req %p ", + "Unable to get send buffer in HT40 OBSS Start req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -32910,7 +32910,7 @@ WDI_ProcessHT40OBSSStopScanInd ( usSendSize < (usDataOffset + usLen ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in HT40 OBSS Start req %p ", + "Unable to get send buffer in HT40 OBSS Start req %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33178,7 +33178,7 @@ WDI_ProcessGetBcnMissRateReq ( usSendSize < (usDataOffset + sizeof(tHalBcnMissRateReqParams)))) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in get WDI_GET_BCN_MISS_RATE_REQ %p", + "Unable to get send buffer in get WDI_GET_BCN_MISS_RATE_REQ %pK", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33355,7 +33355,7 @@ WDI_Status ( usSendSize < (usDataOffset + sizeof(tHalfwStatsReqParams)))) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in get WDI_GET_FW_STAS_REQ %p", + "Unable to get send buffer in get WDI_GET_FW_STAS_REQ %pK", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33462,7 +33462,7 @@ WDI_ProcessLLStatsSetReq ( usSendSize < (usDataOffset + sizeof(halLLStatsSetParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiLLStatsSetReqParams, wdiLLStatsSetCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33603,7 +33603,7 @@ WDI_ProcessLLStatsGetReq ( usSendSize < (usDataOffset + sizeof(halLLStatsGetParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiLLStatsGetReqParams, wdiLLStatsGetCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33739,7 +33739,7 @@ WDI_ProcessLLStatsClearReq ( usSendSize < (usDataOffset + sizeof(halLLStatsClearParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiLLStatsClearReqParams, wdiLLStatsClearCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -33886,7 +33886,7 @@ WDI_ProcessMonStartReq ( usSendSize < (usDataOffset + sizeof(halEnableMonitorModeParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiMonStartReqParams, wdiMonStartCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -34013,7 +34013,7 @@ WDI_ProcessMonStopReq ( usSendSize < (usDataOffset + sizeof(wpt_uint8) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p", __func__, + "Unable to get send buffer in %s %pK %pK", __func__, pEventData, wdiMonStopCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -34371,7 +34371,7 @@ WDI_ProcessEXTScanGetCapabilitiesReq ( usSendSize < (usDataOffset + sizeof(halEXTScanGetCapReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanGetCapabilitiesReqParams, wdiEXTScanGetCapabilitiesRspCb); WDI_ASSERT(0); @@ -34499,7 +34499,7 @@ WDI_ProcessEXTScanGetCachedResultsReq ( usSendSize < (usDataOffset + sizeof(halEXTScanGetScanReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanGetCachedResultsReqParams, wdiEXTScanGetCachedResultsCb); WDI_ASSERT(0); @@ -34627,7 +34627,7 @@ WDI_ProcessEXTScanStopReq ( usSendSize < (usDataOffset + sizeof(halEXTScanStopReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanStopReqParams, wdiEXTScanStopCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -34753,7 +34753,7 @@ WDI_ProcessEXTScanStartReq ( usSendSize < (usDataOffset + sizeof(tHalExtScanStartReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanStartReqParams, wdiEXTScanStartCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -34950,7 +34950,7 @@ WDI_ProcessEXTScanSetBSSIDHotlistReq ( usSendSize < (usDataOffset + sizeof(tHalBssidHotlistSetReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanSetBSSIDHotlistReqParams, wdiEXTScanSetBSSIDHotlistRspCb); WDI_ASSERT(0); @@ -35108,7 +35108,7 @@ WDI_ProcessEXTScanResetBSSIDHotlistReq ( usSendSize < (usDataOffset + sizeof(tHalHotlistResetReq) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiEXTScanResetBSSIDHotlistReqParams, wdiEXTScanResetBSSIDHotlistRspCb); WDI_ASSERT(0); @@ -35218,7 +35218,7 @@ WDI_ProcessHighPriorityDataInfoInd ( usSendSize < (usDataOffset + sizeof(tHalHighPriorityDataInfoInd) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p", __func__, + "Unable to get send buffer in %s %pK %pK", __func__, pEventData, pHighPriorityDataInfoIndParams); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -36252,7 +36252,7 @@ WDI_ProcessFWLoggingDXEdoneInd ( usSendSize < (usDataOffset + sizeof(tFWLoggingDxeDoneInd) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in RTS CTS ind %p ", + "Unable to get send buffer in RTS CTS ind %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -36665,7 +36665,7 @@ WDI_ProcessEncryptMsgReq ( usSendSize < (usDataOffset + sizeof(tSetEncryptedDataReqMsg)))) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in get WDI_ENCRYPT_MSG_REQ %p", + "Unable to get send buffer in get WDI_ENCRYPT_MSG_REQ %pK", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -36819,7 +36819,7 @@ WDI_ProcessNanRequest ( usSendSize < (usDataOffset + pwdiNanRequest->request_data_len))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in NAN request %p %p", + "Unable to get send buffer in NAN request %pK %pK", pEventData, pwdiNanRequest); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37085,7 +37085,7 @@ WDI_ProcessSetRtsCtsHtvhtInd ( usSendSize < (usDataOffset + sizeof(tHalRtsCtsHtvhtIndParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in RTS CTS ind %p ", + "Unable to get send buffer in RTS CTS ind %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37177,7 +37177,7 @@ WDI_ProcessEnableDisableCAEventInd ( usSendSize < (usDataOffset + sizeof(tHalAvoidFreqRangeCtrlParam) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in Channel Avoidance Ind %p ", + "Unable to get send buffer in Channel Avoidance Ind %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37312,7 +37312,7 @@ WDI_WifiConfigSetReq(WDI_WifiConfigSetReqType* pwdiWifConfigSetReqParams, ( usSendSize < (usDataOffset + sizeof(halWifiConfigSetParams.wifiConfigParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p %p", __func__, + "Unable to get send buffer in %s %pK %pK %pK", __func__, pEventData, pwdiWifiConfigSetReqParams, wdiWifiConfigSetRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37465,7 +37465,7 @@ WDI_ProcessStartOemDataReqIndNew ( usSendSize < (usDataOffset + sizeof(*pHalStartOemDataReqParamsNew) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in %s %p %p", __func__, + "Unable to get send buffer in %s %pK %pK", __func__, pEventData, wdiOemDataReqNewConfig); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37641,7 +37641,7 @@ WDI_ProcessGetCurrentAntennaIndex sizeof(tHalAntennaDiversitySelectionReqParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in GetCurrentAntennaIndex %p", + "Unable to get send buffer in GetCurrentAntennaIndex %pK", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37751,7 +37751,7 @@ WDI_ProcessBcnMissPenaltyCount ( usSendSize < (usDataOffset + sizeof(tHalModifyRoamParamsIndParams) ))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer for Modify roam req params %p ", + "Unable to get send buffer for Modify roam req params %pK ", pEventData); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -37855,7 +37855,7 @@ WDI_Status WDI_ProcessSetAllowedActionFramesInd(WDI_ControlBlockType *pWDICtx, (usSendSize < (usDataOffset + usLen))) { WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, - "Unable to get send buffer in Allowed Action Frames req %p", + "Unable to get send buffer in Allowed Action Frames req %pK", pEventData); return WDI_STATUS_E_FAILURE; } @@ -37948,7 +37948,7 @@ WDI_ProcessSetArpStatsReq ( usSendSize < (usDataOffset + sizeof(statsReqParams.statsArpReqParams)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pSetARPStatsReqParams, wdiSetARPStatsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; @@ -38054,7 +38054,7 @@ WDI_ProcessGetArpStatsReq sizeof(statsReqParams.statsGetArpReqParams)))) { WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Unable to get send buffer in set bss key req %p %p %p", + "Unable to get send buffer in set bss key req %pK %pK %pK", pEventData, pGetARPStatsReqParams, wdiGetARPStatsRspCb); WDI_ASSERT(0); return WDI_STATUS_E_FAILURE; diff --git a/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi_dp.c b/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi_dp.c index 25d627f23886..401c6d1bc59a 100644 --- a/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi_dp.c +++ b/drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi_dp.c @@ -417,7 +417,7 @@ WDI_FillTxBd ucSubType = (ucTypeSubtype & WDI_FRAME_SUBTYPE_MASK); WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN, - "Type: %d/%d, MAC S: %08x. MAC D: %08x., Tid=%d, frmXlat=%d, pTxBD=%p ucTxFlag 0x%X", + "Type: %d/%d, MAC S: %08x. MAC D: %08x., Tid=%d, frmXlat=%d, pTxBD=%pK ucTxFlag 0x%X", ucType, ucSubType, *((wpt_uint32 *) pAddr2), *((wpt_uint32 *) pDestMacAddr), diff --git a/drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.c b/drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.c index a43656a1b41a..14c353a6c8a8 100644 --- a/drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.c +++ b/drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.c @@ -437,7 +437,7 @@ wpt_status WDTS_TxPacketComplete(void *pContext, wpt_packet *pFrame, wpt_status // Do Sanity checks if(NULL == pContext || NULL == pFrame){ VOS_TRACE(VOS_MODULE_ID_WDI, VOS_TRACE_LEVEL_WARN, - "%s: Tx complete cannot proceed(%p:%p)", + "%s: Tx complete cannot proceed(%pK:%pK)", __func__, pContext, pFrame); return eWLAN_PAL_STATUS_E_FAILURE; } diff --git a/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c b/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c index da46cba72481..3f06cf8630a4 100644 --- a/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c +++ b/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2015, 2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -526,7 +526,7 @@ WPT_STATIC WPT_INLINE void* itGetOSPktAddrFromDevice( wpt_packet *pPacket ) #else WPAL_TRACE(eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_FATAL, "%s: skb->data == skb->tail. Attempting recovery " - "skb:%p, head:%p, tail:%p, data:%p", + "skb:%pK, head:%pK, tail:%pK, data:%pK", __func__, skb, skb->head, skb->tail, skb->data); skb->data = skb->head; @@ -576,7 +576,7 @@ wpt_status wpalIteratorInit(wpt_iterator *pIter, wpt_packet *pPacket) if (unlikely((NULL == pPacket)||(NULL==pIter))) { WPAL_TRACE(eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - "%s : NULL input pointers %p %p", __func__, pPacket, pIter); + "%s : NULL input pointers %pK %pK", __func__, pPacket, pIter); return eWLAN_PAL_STATUS_E_INVAL; } diff --git a/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_timer.c b/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_timer.c index 8bb86a12c18a..5e6e33aa25eb 100644 --- a/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_timer.c +++ b/drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_timer.c @@ -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. * @@ -62,7 +62,7 @@ static void wpalTimerCback( void * userData ) else { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_WARN, - " %s pTimer(%p) callback after deleted", + " %s pTimer(%pK) callback after deleted", __func__, pTimer ); } }/*wpalTimerCback*/ @@ -82,7 +82,7 @@ wpt_status wpalTimerInit(wpt_timer * pTimer, wpal_timer_callback callback, void if( pTimer == NULL || callback == NULL ) { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - " %s Wrong param pTimer(%p) callback(%p)", + " %s Wrong param pTimer(%pK) callback(%pK)", __func__, pTimer, callback ); return eWLAN_PAL_STATUS_E_INVAL; } @@ -114,7 +114,7 @@ wpt_status wpalTimerDelete(wpt_timer *pTimer) if( pTimer == NULL ) { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - " %s Wrong param pTimer(%p)", + " %s Wrong param pTimer(%pK)", __func__, pTimer ); return eWLAN_PAL_STATUS_E_INVAL; } @@ -146,7 +146,7 @@ wpt_status wpalTimerStart(wpt_timer * pTimer, wpt_uint32 timeout) if( pTimer == NULL ) { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - " %s Wrong param pTimer(%p)", + " %s Wrong param pTimer(%pK)", __func__, pTimer ); return eWLAN_PAL_STATUS_E_INVAL; } @@ -170,7 +170,7 @@ wpt_status wpalTimerStop(wpt_timer * pTimer) if( pTimer == NULL ) { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - " %s Wrong param pTimer(%p)", + " %s Wrong param pTimer(%pK)", __func__, pTimer ); return eWLAN_PAL_STATUS_E_INVAL; } @@ -191,7 +191,7 @@ WPAL_TIMER_STATE wpalTimerGetCurStatus(wpt_timer * pTimer) if( pTimer == NULL ) { WPAL_TRACE( eWLAN_MODULE_PAL, eWLAN_PAL_TRACE_LEVEL_ERROR, - " %s Wrong param pTimer(%p)", + " %s Wrong param pTimer(%pK)", __func__, pTimer ); return eWLAN_PAL_STATUS_E_INVAL; }