Ver Fonte

qcacld-3.0: sme: Replace instances of unadorned %p

Replace instances of unadorned %p in core/sme.

Change-Id: I8176263cf21ec7281dd5ebbaecbe1c8568465a37
CRs-Fixed: 2100997
Jeff Johnson há 7 anos atrás
pai
commit
c83eca9924

+ 1 - 1
core/sme/src/common/sme_api.c

@@ -6967,7 +6967,7 @@ QDF_STATUS sme_8023_multicast_list(tHalHandle hHal, uint8_t sessionId,
 	struct csr_roam_session *pSession = NULL;
 
 	QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG, "%s: "
-		  "ulMulticastAddrCnt=%d, multicastAddr[0]=%p", __func__,
+		  "ulMulticastAddrCnt=%d, multicastAddr[0]=%pK", __func__,
 		  pMulticastAddrs->ulMulticastAddrCnt,
 		  pMulticastAddrs->multicastAddr[0].bytes);
 

+ 1 - 1
core/sme/src/common/sme_ft_api.c

@@ -195,7 +195,7 @@ void sme_set_ft_ies(tHalHandle hal_ptr, uint32_t session_id,
 		 * reassoc req. This is the new FT Roaming in place At
 		 * this juncture we'r ready to start sending Reassoc req
 		 */
-		sme_debug("New Reassoc Req: %p in state %d",
+		sme_debug("New Reassoc Req: %pK in state %d",
 			ft_ies, session->ftSmeContext.FTState);
 		if ((session->ftSmeContext.reassoc_ft_ies) &&
 			(session->ftSmeContext.reassoc_ft_ies_length)) {

+ 1 - 1
core/sme/src/csr/csr_api_roam.c

@@ -1341,7 +1341,7 @@ void csr_cancel_command(tpAniSirGlobal mac_ctx, tSmeCmd *sme_cmd)
 		 * We need to inform the requester before dropping
 		 * the scan command
 		 */
-		sme_warn("Drop scan reason %d callback %p",
+		sme_warn("Drop scan reason %d callback %pK",
 				sme_cmd->u.scanCmd.reason,
 				sme_cmd->u.scanCmd.callback);
 		if (NULL != sme_cmd->u.scanCmd.callback) {

+ 1 - 1
core/sme/src/csr/csr_api_scan.c

@@ -2902,7 +2902,7 @@ QDF_STATUS csr_scan_sme_scan_response(tpAniSirGlobal pMac,
 	if (!pEntry)
 		goto error_handling;
 
-	sme_debug("Scan completion called:scan_id %d, entry = %p",
+	sme_debug("Scan completion called:scan_id %d, entry = %pK",
 		pScanRsp->scan_id, pEntry);
 
 	pCommand = GET_BASE_ADDR(pEntry, tSmeCmd, Link);

+ 15 - 15
core/sme/src/qos/sme_qos.c

@@ -1251,7 +1251,7 @@ enum sme_qos_statustype sme_qos_internal_setup_req(tpAniSirGlobal pMac,
 			pentry->tspec_mask = pACInfo->tspec_mask_status;
 			pentry->QoSInfo = Tspec_Info;
 			QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-				  "%s: %d: Creating entry on session %d at %p with flowID %d",
+				  "%s: %d: Creating entry on session %d at %pK with flowID %d",
 				  __func__, __LINE__,
 				  sessionId, pentry, QosFlowID);
 			csr_ll_insert_tail(&sme_qos_cb.flow_list, &pentry->link,
@@ -1595,7 +1595,7 @@ enum sme_qos_statustype sme_qos_internal_setup_req(tpAniSirGlobal pMac,
 			pentry->tspec_mask = tmask;
 			pentry->QoSInfo = Tspec_Info;
 			QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-				  "%s: %d: On session %d creating entry at %p with flowID %d",
+				  "%s: %d: On session %d creating entry at %pK with flowID %d",
 				  __func__, __LINE__,
 				  sessionId, pentry, QosFlowID);
 			csr_ll_insert_tail(&sme_qos_cb.flow_list, &pentry->link,
@@ -1814,7 +1814,7 @@ enum sme_qos_statustype sme_qos_internal_modify_req(tpAniSirGlobal pMac,
 		flow_info->reason = SME_QOS_REASON_MODIFY;
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
 			  "%s: %d: On session %d creating modified "
-			  "entry at %p with flowID %d",
+			  "entry at %pK with flowID %d",
 			  __func__, __LINE__,
 			  sessionId, pNewEntry, pNewEntry->QosFlowID);
 		/* add the new entry under construction to the Flow List */
@@ -2300,7 +2300,7 @@ enum sme_qos_statustype sme_qos_internal_release_req(tpAniSirGlobal pMac,
 					/* delete the entry from Flow List */
 					QDF_TRACE(QDF_MODULE_ID_SME,
 						  QDF_TRACE_LEVEL_DEBUG,
-						  "%s: %d: Deleting entry at %p with flowID %d",
+						  "%s: %d: Deleting entry at %pK with flowID %d",
 						  __func__, __LINE__, flow_info,
 						  QosFlowID);
 					csr_ll_remove_entry(&sme_qos_cb.flow_list,
@@ -2365,7 +2365,7 @@ enum sme_qos_statustype sme_qos_internal_release_req(tpAniSirGlobal pMac,
 					QDF_TRACE(QDF_MODULE_ID_SME,
 						  QDF_TRACE_LEVEL_DEBUG,
 						  "%s: %d: On session %d deleting entry at "
-						  "%p with flowID %d", __func__,
+						  "%pK with flowID %d", __func__,
 						  __LINE__, sessionId,
 						  flow_info, QosFlowID);
 					csr_ll_remove_entry(&sme_qos_cb.flow_list,
@@ -2539,7 +2539,7 @@ enum sme_qos_statustype sme_qos_internal_release_req(tpAniSirGlobal pMac,
 
 				QDF_TRACE(QDF_MODULE_ID_SME,
 					  QDF_TRACE_LEVEL_DEBUG,
-					  "%s: %d: Deleting entry at %p with flowID %d",
+					  "%s: %d: Deleting entry at %pK with flowID %d",
 					  __func__, __LINE__, flow_info,
 					  flow_info->QosFlowID);
 			} else if (buffered_cmd) {
@@ -2588,7 +2588,7 @@ enum sme_qos_statustype sme_qos_internal_release_req(tpAniSirGlobal pMac,
 			pACInfo->num_flows[flow_info->tspec_mask - 1]--;
 			/* delete the entry from Flow List */
 			QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-				  "%s: %d: On session %d deleting entry at %p with flowID %d",
+				  "%s: %d: On session %d deleting entry at %pK with flowID %d",
 				  __func__, __LINE__,
 				  sessionId, flow_info, QosFlowID);
 			csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry,
@@ -3016,7 +3016,7 @@ QDF_STATUS sme_qos_ese_process_reassoc_tspec_rsp(tpAniSirGlobal pMac,
 	}
 
 	QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_WARN,
-		  "TspecLen = %d, pbFrames = %p, pTspecIE = %p",
+		  "TspecLen = %d, pbFrames = %pK, pTspecIE = %pK",
 		  tspecIeLen, pCsrConnectedInfo->pbFrames, pTspecIE);
 
 	numTspec = (tspecIeLen) / sizeof(tDot11fIEWMMTSPEC);
@@ -3200,7 +3200,7 @@ QDF_STATUS sme_qos_create_tspec_ricie(tpAniSirGlobal pMac,
 	if (pRICBuffer == NULL || pRICIdentifier == NULL || pRICLength ==
 								NULL) {
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
-			FL("RIC data is NULL, %p, %p, %p"),
+			FL("RIC data is NULL, %pK, %pK, %pK"),
 			pRICBuffer, pRICIdentifier, pRICLength);
 		return QDF_STATUS_E_FAILURE;
 	}
@@ -6325,7 +6325,7 @@ static QDF_STATUS sme_qos_buffer_existing_flows(tpAniSirGlobal mac_ctx,
 		}
 		/* delete the entry from Flow List */
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-			  FL("Deleting original entry at %p with flowID %d"),
+			  FL("Deleting original entry at %pK with flowID %d"),
 			  flow_info, flow_info->QosFlowID);
 		csr_ll_remove_entry(&sme_qos_cb.flow_list, list_entry, true);
 		qdf_mem_free(flow_info);
@@ -6373,7 +6373,7 @@ static QDF_STATUS sme_qos_delete_existing_flows(tpAniSirGlobal pMac,
 						       flow_info->QosFlowID);
 			}
 			QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-				  "%s: %d: Deleting entry at %p with flowID %d",
+				  "%s: %d: Deleting entry at %pK with flowID %d",
 				  __func__, __LINE__,
 				  flow_info, flow_info->QosFlowID);
 			/* delete the entry from Flow List */
@@ -6740,7 +6740,7 @@ QDF_STATUS sme_qos_modify_fnp(tpAniSirGlobal pMac, tListElem *pEntry)
 	case SME_QOS_REASON_MODIFY:
 		/* delete the original entry from Flow List */
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-			  "%s: %d: Deleting original entry at %p with flowID %d",
+			  "%s: %d: Deleting original entry at %pK with flowID %d",
 			  __func__, __LINE__, flow_info, flow_info->QosFlowID);
 		csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry, true);
 		/* reclaim the memory */
@@ -6921,7 +6921,7 @@ sme_qos_reassoc_success_ev_fnp(tpAniSirGlobal mac_ctx,
 	} else {
 		/* delete the entry from Flow List */
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-			FL("Deleting entry at %p with flowID %d"),
+			FL("Deleting entry at %pK with flowID %d"),
 			flow_info, flow_info->QosFlowID);
 		csr_ll_remove_entry(&sme_qos_cb.flow_list, entry, true);
 		/* reclaim the memory */
@@ -7007,7 +7007,7 @@ QDF_STATUS sme_qos_add_ts_failure_fnp(tpAniSirGlobal pMac, tListElem *pEntry)
 		}
 		/* delete the entry from Flow List */
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-			  "%s: %d: Deleting entry at %p with flowID %d",
+			  "%s: %d: Deleting entry at %pK with flowID %d",
 			  __func__, __LINE__, flow_info, flow_info->QosFlowID);
 		csr_ll_remove_entry(&sme_qos_cb.flow_list, pEntry, true);
 		/* reclaim the memory */
@@ -7186,7 +7186,7 @@ QDF_STATUS sme_qos_add_ts_success_fnp(tpAniSirGlobal mac_ctx,
 	}
 	if (delete_entry) {
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
-			FL("Deleting entry at %p with flowID %d"),
+			FL("Deleting entry at %pK with flowID %d"),
 			flow_info, flow_info->QosFlowID);
 		/* delete the entry from Flow List */
 		csr_ll_remove_entry(&sme_qos_cb.flow_list, entry, true);