Эх сурвалжийг харах

qcacmn: dp: Replace instances of unadorned %p

Replace instances of unadorned %p in dp.

Change-Id: I8d9c0f6efe5f03a582a36d7ff39a905a5de576a7
CRs-Fixed: 2111274
Jeff Johnson 7 жил өмнө
parent
commit
3f217e2a81

+ 1 - 1
dp/wifi3.0/dp_htt.c

@@ -1230,7 +1230,7 @@ void htt_t2h_stats_handler(void *context)
 
 	if (!soc || !qdf_atomic_read(&soc->cmn_init_done)) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"soc: 0x%p, init_done: %d", soc,
+			"soc: 0x%pK, init_done: %d", soc,
 			qdf_atomic_read(&soc->cmn_init_done));
 		return;
 	}

+ 2 - 2
dp/wifi3.0/dp_ipa.c

@@ -337,7 +337,7 @@ QDF_STATUS dp_ipa_setup(struct cdp_pdev *ppdev, void *ipa_i2w_cb,
 	ipa_res->rx_ready_doorbell_paddr = pipe_out.rx_uc_db_pa;
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-		  "Tx: %s=%p, %s=%d, %s=%p, %s=%p, %s=%d, %s=%p, %s=%d, %s=%p",
+		  "Tx: %s=%pK, %s=%d, %s=%pK, %s=%pK, %s=%d, %s=%pK, %s=%d, %s=%pK",
 		  "transfer_ring_base_pa",
 		  (void *)pipe_in.tx.transfer_ring_base_pa,
 		  "transfer_ring_size",
@@ -356,7 +356,7 @@ QDF_STATUS dp_ipa_setup(struct cdp_pdev *ppdev, void *ipa_i2w_cb,
 		  (void *)ipa_res->tx_comp_doorbell_paddr);
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-		  "Rx: %s=%p, %s=%d, %s=%p, %s=%p, %s=%d, %s=%p, %s=%d, %s=%p",
+		  "Rx: %s=%pK, %s=%d, %s=%pK, %s=%pK, %s=%d, %s=%pK, %s=%d, %s=%pK",
 		  "transfer_ring_base_pa",
 		  (void *)pipe_in.rx.transfer_ring_base_pa,
 		  "transfer_ring_size",

+ 13 - 13
dp/wifi3.0/dp_main.c

@@ -2140,8 +2140,8 @@ static inline int dp_ipa_ring_resource_setup(struct dp_soc *soc,
 	soc->ipa_uc_rx_rsc.ipa_rx_refill_buf_hp_paddr = hp_addr;
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		"%s: ring_base_paddr:%p, ring_base_vaddr:%p"
-		"_entries:%d, hp_addr:%p\n",
+		"%s: ring_base_paddr:%pK, ring_base_vaddr:%pK"
+		"_entries:%d, hp_addr:%pK\n",
 		__func__,
 		(void *)srng_params.ring_base_paddr,
 		(void *)srng_params.ring_base_vaddr,
@@ -2864,7 +2864,7 @@ static struct cdp_vdev *dp_vdev_attach_wifi3(struct cdp_pdev *txrx_pdev,
 		 "LRO: vdev_id %d lro_enable %d", vdev_id, vdev->lro_enable);
 
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-		"Created vdev %p (%pM)", vdev, vdev->mac_addr.raw);
+		"Created vdev %pK (%pM)", vdev, vdev->mac_addr.raw);
 	DP_STATS_INIT(vdev);
 
 	return (struct cdp_vdev *)vdev;
@@ -2941,7 +2941,7 @@ static void dp_vdev_detach_wifi3(struct cdp_vdev *vdev_handle,
 	if (!TAILQ_EMPTY(&vdev->peer_list)) {
 		/* debug print - will be removed later */
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_WARN,
-			FL("not deleting vdev object %p (%pM)"
+			FL("not deleting vdev object %pK (%pM)"
 			"until deletion finishes for all its peers"),
 			vdev, vdev->mac_addr.raw);
 		/* indicate that the vdev needs to be deleted */
@@ -2957,7 +2957,7 @@ static void dp_vdev_detach_wifi3(struct cdp_vdev *vdev_handle,
 		vdev->vdev_id);
 	dp_tx_vdev_detach(vdev);
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO_HIGH,
-		FL("deleting vdev object %p (%pM)"), vdev, vdev->mac_addr.raw);
+		FL("deleting vdev object %pK (%pM)"), vdev, vdev->mac_addr.raw);
 
 	qdf_mem_free(vdev);
 
@@ -3033,7 +3033,7 @@ static void *dp_peer_create_wifi3(struct cdp_vdev *vdev_handle,
 	dp_peer_find_hash_add(soc, peer);
 
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO_HIGH,
-		"vdev %p created peer %p (%pM) ref_cnt: %d",
+		"vdev %pK created peer %pK (%pM) ref_cnt: %d",
 		vdev, peer, peer->mac_addr.raw,
 		qdf_atomic_read(&peer->ref_cnt));
 	/*
@@ -3330,7 +3330,7 @@ void dp_peer_unref_delete(void *peer_handle)
 	 */
 	qdf_spin_lock_bh(&soc->peer_ref_mutex);
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		  "%s: peer %p ref_cnt(before decrement): %d\n", __func__,
+		  "%s: peer %pK ref_cnt(before decrement): %d\n", __func__,
 		  peer, qdf_atomic_read(&peer->ref_cnt));
 	if (qdf_atomic_dec_and_test(&peer->ref_cnt)) {
 		peer_id = peer->peer_ids[0];
@@ -3343,7 +3343,7 @@ void dp_peer_unref_delete(void *peer_handle)
 			soc->peer_id_to_obj_map[peer_id] = NULL;
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO_HIGH,
-			"Deleting peer %p (%pM)", peer, peer->mac_addr.raw);
+			"Deleting peer %pK (%pM)", peer, peer->mac_addr.raw);
 
 		/* remove the reference to the peer from the hash table */
 		dp_peer_find_hash_remove(soc, peer);
@@ -3360,7 +3360,7 @@ void dp_peer_unref_delete(void *peer_handle)
 		} else {
 			/*Ignoring the remove operation as peer not found*/
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_WARN,
-				"peer %p not found in vdev (%p)->peer_list:%p",
+				"peer %pK not found in vdev (%pK)->peer_list:%pK",
 				peer, vdev, &peer->vdev->peer_list);
 		}
 
@@ -3386,7 +3386,7 @@ void dp_peer_unref_delete(void *peer_handle)
 
 				QDF_TRACE(QDF_MODULE_ID_DP,
 					QDF_TRACE_LEVEL_INFO_HIGH,
-					FL("deleting vdev object %p (%pM)"
+					FL("deleting vdev object %pK (%pM)"
 					" - its last peer is done"),
 					vdev, vdev->mac_addr.raw);
 				/* all peers are gone, go ahead and delete it */
@@ -3427,7 +3427,7 @@ static void dp_peer_delete_wifi3(void *peer_handle)
 	peer->rx_opt_proc = dp_rx_discard;
 
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO_HIGH,
-		FL("peer %p (%pM)"),  peer, peer->mac_addr.raw);
+		FL("peer %pK (%pM)"),  peer, peer->mac_addr.raw);
 
 #ifndef CONFIG_WIN
 	dp_local_peer_id_free(peer->vdev->pdev, peer);
@@ -3560,13 +3560,13 @@ static int dp_vdev_set_monitor_mode(struct cdp_vdev *vdev_handle,
 	soc = pdev->soc;
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_WARN,
-		"pdev=%p, pdev_id=%d, soc=%p vdev=%p\n",
+		"pdev=%pK, pdev_id=%d, soc=%pK vdev=%pK\n",
 		pdev, pdev_id, soc, vdev);
 
 	/*Check if current pdev's monitor_vdev exists */
 	if (pdev->monitor_vdev) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"vdev=%p\n", vdev);
+			"vdev=%pK\n", vdev);
 		qdf_assert(vdev);
 	}
 

+ 25 - 25
dp/wifi3.0/dp_peer.c

@@ -361,7 +361,7 @@ static inline void dp_peer_map_ast(struct dp_soc *soc,
 	}
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		"%s: peer %p ID %d vid %d mac %02x:%02x:%02x:%02x:%02x:%02x\n",
+		"%s: peer %pK ID %d vid %d mac %02x:%02x:%02x:%02x:%02x:%02x\n",
 		__func__, peer, hw_peer_id, vdev_id, mac_addr[0],
 		mac_addr[1], mac_addr[2], mac_addr[3],
 		mac_addr[4], mac_addr[5]);
@@ -410,7 +410,7 @@ int dp_peer_add_ast(struct dp_soc *soc, struct dp_peer *peer,
 	struct dp_ast_entry *ast_entry;
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		"%s: peer %p mac %02x:%02x:%02x:%02x:%02x:%02x\n",
+		"%s: peer %pK mac %02x:%02x:%02x:%02x:%02x:%02x\n",
 		__func__, peer, mac_addr[0], mac_addr[1], mac_addr[2],
 		mac_addr[3], mac_addr[4], mac_addr[5]);
 
@@ -720,7 +720,7 @@ static inline struct dp_peer *dp_peer_find_add_id(struct dp_soc *soc,
 	peer = dp_peer_find_hash_find(soc, peer_mac_addr, 0 /* is aligned */);
 #endif
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		"%s: peer %p ID %d vid %d mac %02x:%02x:%02x:%02x:%02x:%02x\n",
+		"%s: peer %pK ID %d vid %d mac %02x:%02x:%02x:%02x:%02x:%02x\n",
 		__func__, peer, peer_id, vdev_id, peer_mac_addr[0],
 		peer_mac_addr[1], peer_mac_addr[2], peer_mac_addr[3],
 		peer_mac_addr[4], peer_mac_addr[5]);
@@ -767,7 +767,7 @@ dp_rx_peer_map_handler(void *soc_handle, uint16_t peer_id, uint16_t hw_peer_id,
 	struct dp_peer *peer = NULL;
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO_HIGH,
-		"peer_map_event (soc:%p): peer_id %di, hw_peer_id %d, peer_mac "
+		"peer_map_event (soc:%pK): peer_id %di, hw_peer_id %d, peer_mac "
 		"%02x:%02x:%02x:%02x:%02x:%02x, vdev_id %d\n", soc, peer_id,
 		hw_peer_id, peer_mac_addr[0], peer_mac_addr[1],
 		peer_mac_addr[2], peer_mac_addr[3], peer_mac_addr[4],
@@ -805,7 +805,7 @@ dp_rx_peer_unmap_handler(void *soc_handle, uint16_t peer_id)
 	peer = dp_peer_find_by_id(soc, peer_id);
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO_HIGH,
-		"peer_unmap_event (soc:%p) peer_id %d peer %p\n",
+		"peer_unmap_event (soc:%pK) peer_id %d peer %pK\n",
 		soc, peer_id, peer);
 
 	/*
@@ -884,7 +884,7 @@ void *dp_find_peer_by_addr(struct cdp_pdev *dev, uint8_t *peer_mac_addr,
 
 	/* Multiple peer ids? How can know peer id? */
 	*local_id = peer->local_id;
-	DP_TRACE(INFO, "%s: peer %p id %d", __func__, peer, *local_id);
+	DP_TRACE(INFO, "%s: peer %pK id %d", __func__, peer, *local_id);
 
 	/* ref_cnt is incremented inside dp_peer_find_hash_find().
 	 * Decrement it here.
@@ -966,7 +966,7 @@ static void dp_reo_desc_free(struct dp_soc *soc,
 		qdf_mem_free(desc);
 
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-			"%s: Freed: %p\n",
+			"%s: Freed: %pK\n",
 			__func__, desc);
 	}
 	qdf_spin_unlock_bh(&soc->reo_desc_freelist_lock);
@@ -1072,7 +1072,7 @@ try_desc_alloc:
 			hw_qdesc_align);
 
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-			"%s: Total Size %d Aligned Addr %p\n",
+			"%s: Total Size %d Aligned Addr %pK\n",
 			__func__, rx_tid->hw_qdesc_alloc_size,
 			hw_qdesc_vaddr);
 
@@ -1215,7 +1215,7 @@ static void dp_peer_setup_remaining_tids(struct dp_peer *peer)
 	for (tid = 1; tid < DP_MAX_TIDS-1; tid++) {
 		dp_rx_tid_setup_wifi3(peer, tid, 1, 0);
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-			"Setting up TID %d for peer %p peer->local_id %d\n",
+			"Setting up TID %d for peer %pK peer->local_id %d\n",
 			tid, peer, peer->local_id);
 	}
 }
@@ -1409,7 +1409,7 @@ void dp_rx_discard(struct dp_vdev *vdev, struct dp_peer *peer, unsigned tid,
 
 		msdu_list = qdf_nbuf_next(msdu_list);
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO_HIGH,
-			"discard rx %p from partly-deleted peer %p "
+			"discard rx %pK from partly-deleted peer %pK "
 			"(%02x:%02x:%02x:%02x:%02x:%02x)\n",
 			msdu, peer,
 			peer->mac_addr.raw[0], peer->mac_addr.raw[1],
@@ -1532,7 +1532,7 @@ dp_rx_sec_ind_handler(void *soc_handle, uint16_t peer_id,
 		return;
 	}
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO_HIGH,
-		"sec spec for peer %p (%02x:%02x:%02x:%02x:%02x:%02x): "
+		"sec spec for peer %pK (%02x:%02x:%02x:%02x:%02x:%02x): "
 		"%s key of type %d\n",
 		peer,
 		peer->mac_addr.raw[0], peer->mac_addr.raw[1],
@@ -1657,9 +1657,9 @@ void *dp_find_peer_by_addr_and_vdev(struct cdp_pdev *pdev_handle,
 	struct dp_vdev *vdev = (struct dp_vdev *)vdev_handle;
 	struct dp_peer *peer;
 
-	DP_TRACE(INFO, "vdev %p peer_addr %p", vdev, peer_addr);
+	DP_TRACE(INFO, "vdev %pK peer_addr %pK", vdev, peer_addr);
 	peer = dp_peer_find_hash_find(pdev->soc, peer_addr, 0);
-	DP_TRACE(INFO, "peer %p vdev %p", peer, vdev);
+	DP_TRACE(INFO, "peer %pK vdev %pK", peer, vdev);
 
 	if (!peer)
 		return NULL;
@@ -1668,7 +1668,7 @@ void *dp_find_peer_by_addr_and_vdev(struct cdp_pdev *pdev_handle,
 		return NULL;
 
 	*local_id = peer->local_id;
-	DP_TRACE(INFO, "peer %p vdev %p lcoal id %d", peer, vdev, *local_id);
+	DP_TRACE(INFO, "peer %pK vdev %pK lcoal id %d", peer, vdev, *local_id);
 
 	/* ref_cnt is incremented inside dp_peer_find_hash_find().
 	 * Decrement it here.
@@ -1709,7 +1709,7 @@ void *dp_peer_find_by_local_id(struct cdp_pdev *pdev_handle, uint8_t local_id)
 	qdf_spin_lock_bh(&pdev->local_peer_ids.lock);
 	peer = pdev->local_peer_ids.map[local_id];
 	qdf_spin_unlock_bh(&pdev->local_peer_ids.lock);
-	DP_TRACE(INFO, "peer %p lcoal id %d",
+	DP_TRACE(INFO, "peer %pK lcoal id %d",
 			peer, local_id);
 	return peer;
 }
@@ -1738,7 +1738,7 @@ QDF_STATUS dp_peer_state_update(struct cdp_pdev *pdev_handle, uint8_t *peer_mac,
 	}
 	peer->state = state;
 
-	DP_TRACE(INFO, "peer %p state %d", peer, peer->state);
+	DP_TRACE(INFO, "peer %pK state %d", peer, peer->state);
 	/* ref_cnt is incremented inside dp_peer_find_hash_find().
 	 * Decrement it here.
 	 */
@@ -1760,7 +1760,7 @@ QDF_STATUS dp_get_vdevid(void *peer_handle, uint8_t *vdev_id)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p vdev %p vdev id %d",
+	DP_TRACE(INFO, "peer %pK vdev %pK vdev id %d",
 			peer, peer->vdev, peer->vdev->vdev_id);
 	*vdev_id = peer->vdev->vdev_id;
 	return QDF_STATUS_SUCCESS;
@@ -1807,7 +1807,7 @@ struct cdp_vdev *dp_get_vdev_for_peer(void *peer_handle)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p vdev %p", peer, peer->vdev);
+	DP_TRACE(INFO, "peer %pK vdev %pK", peer, peer->vdev);
 	return (struct cdp_vdev *)peer->vdev;
 }
 
@@ -1826,7 +1826,7 @@ uint8_t *dp_peer_get_peer_mac_addr(void *peer_handle)
 	uint8_t *mac;
 
 	mac = peer->mac_addr.raw;
-	DP_TRACE(INFO, "peer %p mac 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
+	DP_TRACE(INFO, "peer %pK mac 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
 		peer, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
 	return peer->mac_addr.raw;
 }
@@ -1843,7 +1843,7 @@ int dp_get_peer_state(void *peer_handle)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p stats %d", peer, peer->state);
+	DP_TRACE(INFO, "peer %pK stats %d", peer, peer->state);
 	return peer->state;
 }
 
@@ -1857,7 +1857,7 @@ qdf_time_t *dp_get_last_assoc_received(void *peer_handle)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p last_assoc_rcvd: %lu", peer,
+	DP_TRACE(INFO, "peer %pK last_assoc_rcvd: %lu", peer,
 		peer->last_assoc_rcvd);
 	return &peer->last_assoc_rcvd;
 }
@@ -1872,7 +1872,7 @@ qdf_time_t *dp_get_last_disassoc_received(void *peer_handle)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p last_disassoc_rcvd: %lu", peer,
+	DP_TRACE(INFO, "peer %pK last_disassoc_rcvd: %lu", peer,
 		peer->last_disassoc_rcvd);
 	return &peer->last_disassoc_rcvd;
 }
@@ -1887,7 +1887,7 @@ qdf_time_t *dp_get_last_deauth_received(void *peer_handle)
 {
 	struct dp_peer *peer = peer_handle;
 
-	DP_TRACE(INFO, "peer %p last_deauth_rcvd: %lu", peer,
+	DP_TRACE(INFO, "peer %pK last_deauth_rcvd: %lu", peer,
 		peer->last_deauth_rcvd);
 	return &peer->last_deauth_rcvd;
 }
@@ -1946,7 +1946,7 @@ void dp_local_peer_id_alloc(struct dp_pdev *pdev, struct dp_peer *peer)
 		pdev->local_peer_ids.map[i] = peer;
 	}
 	qdf_spin_unlock_bh(&pdev->local_peer_ids.lock);
-	DP_TRACE(INFO, "peer %p, local id %d", peer, peer->local_id);
+	DP_TRACE(INFO, "peer %pK, local id %d", peer, peer->local_id);
 }
 
 /**
@@ -1991,7 +1991,7 @@ uint8_t dp_get_peer_mac_addr_frm_id(struct cdp_soc_t *soc_handle,
 	peer = dp_peer_find_by_id(soc, peer_id);
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
-			"soc %p peer_id %d", soc, peer_id);
+			"soc %pK peer_id %d", soc, peer_id);
 
 	if (!peer) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,

+ 1 - 1
dp/wifi3.0/dp_peer.h

@@ -103,7 +103,7 @@ dp_get_vdev_from_soc_vdev_id_wifi3(struct dp_soc *soc,
 			if (vdev->vdev_id == vdev_id) {
 				QDF_TRACE(QDF_MODULE_ID_DP,
 					QDF_TRACE_LEVEL_INFO,
-					FL("Found vdev 0x%p on pdev %d\n"),
+					FL("Found vdev 0x%pK on pdev %d\n"),
 					vdev, i);
 				return vdev;
 			}

+ 3 - 3
dp/wifi3.0/dp_rx.c

@@ -190,7 +190,7 @@ QDF_STATUS dp_rx_buffers_replenish(struct dp_soc *dp_soc, uint32_t mac_id,
 		(*desc_list)->rx_desc.in_use = 1;
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-				"rx_netbuf=%p, buf=%p, paddr=0x%llx, cookie=%d\n",
+				"rx_netbuf=%pK, buf=%pK, paddr=0x%llx, cookie=%d\n",
 			rx_netbuf, qdf_nbuf_data(rx_netbuf),
 			(unsigned long long)paddr, (*desc_list)->rx_desc.cookie);
 
@@ -947,7 +947,7 @@ dp_rx_process(struct dp_intr *int_ctx, void *hal_ring, uint32_t quota)
 		 */
 		DP_STATS_INC(soc, rx.err.hal_ring_access_fail, 1);
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			FL("HAL RING Access Failed -- %p"), hal_ring);
+			FL("HAL RING Access Failed -- %pK"), hal_ring);
 		hal_srng_access_end(hal_soc, hal_ring);
 		goto done;
 	}
@@ -966,7 +966,7 @@ dp_rx_process(struct dp_intr *int_ctx, void *hal_ring, uint32_t quota)
 
 		if (qdf_unlikely(error == HAL_REO_ERROR_DETECTED)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			FL("HAL RING 0x%p:error %d"), hal_ring, error);
+			FL("HAL RING 0x%pK:error %d"), hal_ring, error);
 			DP_STATS_INC(soc, rx.err.hal_reo_error[ring_id], 1);
 			/* Don't know how to deal with this -- assert */
 			qdf_assert(0);

+ 1 - 1
dp/wifi3.0/dp_rx.h

@@ -446,7 +446,7 @@ static inline int check_x86_paddr(struct dp_soc *dp_soc, qdf_nbuf_t *rx_netbuf,
 			return QDF_STATUS_SUCCESS;
 		else {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
-				"phy addr %p exceded 0x50000000 trying again\n",
+				"phy addr %pK exceded 0x50000000 trying again\n",
 				paddr);
 
 			nbuf_retry++;

+ 2 - 2
dp/wifi3.0/dp_rx_defrag.c

@@ -808,7 +808,7 @@ static QDF_STATUS dp_rx_defrag_reo_reinject(struct dp_peer *peer,
 	if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) {
 
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"HAL RING Access For WBM Release SRNG Failed: %p",
+			"HAL RING Access For WBM Release SRNG Failed: %pK",
 			hal_srng);
 		goto done;
 	}
@@ -821,7 +821,7 @@ static QDF_STATUS dp_rx_defrag_reo_reinject(struct dp_peer *peer,
 
 	if (qdf_unlikely(error == HAL_REO_ERROR_DETECTED)) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			"HAL RING 0x%p:error %d", hal_srng, error);
+			"HAL RING 0x%pK:error %d", hal_srng, error);
 
 		/* Don't know how to deal with this condition -- assert */
 		qdf_assert(0);

+ 1 - 1
dp/wifi3.0/dp_rx_desc.c

@@ -153,7 +153,7 @@ void dp_rx_add_desc_list_to_free_list(struct dp_soc *soc,
 
 	temp_list = rx_desc_pool->freelist;
 	qdf_print(
-	"temp_list: %p, *local_desc_list: %p, *tail: %p (*tail)->next: %p\n",
+	"temp_list: %pK, *local_desc_list: %pK, *tail: %pK (*tail)->next: %pK\n",
 	temp_list, *local_desc_list, *tail, (*tail)->next);
 	rx_desc_pool->freelist = *local_desc_list;
 	(*tail)->next = temp_list;

+ 11 - 11
dp/wifi3.0/dp_rx_err.c

@@ -160,7 +160,7 @@ dp_rx_pn_error_handle(struct dp_soc *soc, void *ring_desc,
 		"Packet received with PN error");
 
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-		"discard rx due to PN error for peer  %p  "
+		"discard rx due to PN error for peer  %pK  "
 		"(%02x:%02x:%02x:%02x:%02x:%02x)\n",
 		peer,
 		peer->mac_addr.raw[0], peer->mac_addr.raw[1],
@@ -333,7 +333,7 @@ dp_rx_null_q_desc_handle(struct dp_soc *soc, struct dp_rx_desc *rx_desc,
 	vdev = peer->vdev;
 	if (!vdev) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				FL("INVALID vdev %p OR osif_rx"), vdev);
+				FL("INVALID vdev %pK OR osif_rx"), vdev);
 		/* Drop & free packet */
 		qdf_nbuf_free(nbuf);
 		DP_STATS_INC(soc, rx.err.invalid_vdev, 1);
@@ -455,14 +455,14 @@ skip_mec_check:
 
 		if (vdev->osif_rx) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
-				FL("vdev %p osif_rx %p"), vdev,
+				FL("vdev %pK osif_rx %pK"), vdev,
 				vdev->osif_rx);
 			qdf_nbuf_set_next(nbuf, NULL);
 			vdev->osif_rx(vdev->osif_vdev, nbuf);
 			DP_STATS_INC(vdev->pdev, rx.to_stack.num, 1);
 		} else {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				FL("INVALID vdev %p OR osif_rx"), vdev);
+				FL("INVALID vdev %pK OR osif_rx"), vdev);
 			DP_STATS_INC(soc, rx.err.invalid_vdev, 1);
 		}
 	}
@@ -536,7 +536,7 @@ dp_rx_err_deliver(struct dp_soc *soc, struct dp_rx_desc *rx_desc,
 	vdev = peer->vdev;
 	if (!vdev) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				FL("INVALID vdev %p OR osif_rx"), vdev);
+				FL("INVALID vdev %pK OR osif_rx"), vdev);
 		/* Drop & free packet */
 		qdf_nbuf_free(nbuf);
 		DP_STATS_INC(soc, rx.err.invalid_vdev, 1);
@@ -631,7 +631,7 @@ dp_rx_link_desc_return(struct dp_soc *soc, void *ring_desc)
 		 * Ring Type / Ring Id combo
 		 */
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			FL("HAL RING Access For WBM Release SRNG Failed - %p"),
+			FL("HAL RING Access For WBM Release SRNG Failed - %pK"),
 			wbm_rel_srng);
 		DP_STATS_INC(soc, rx.err.hal_ring_access_fail, 1);
 		goto done;
@@ -701,7 +701,7 @@ dp_rx_err_process(struct dp_soc *soc, void *hal_ring, uint32_t quota)
 		 */
 		DP_STATS_INC(soc, rx.err.hal_ring_access_fail, 1);
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			FL("HAL RING Access Failed -- %p"), hal_ring);
+			FL("HAL RING Access Failed -- %pK"), hal_ring);
 		goto done;
 	}
 
@@ -839,7 +839,7 @@ dp_rx_wbm_err_process(struct dp_soc *soc, void *hal_ring, uint32_t quota)
 		 * Ring Type / Ring Id combo
 		 */
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			FL("HAL RING Access Failed -- %p"), hal_ring);
+			FL("HAL RING Access Failed -- %pK"), hal_ring);
 		goto done;
 	}
 
@@ -1067,7 +1067,7 @@ dp_rx_err_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
 
 				QDF_TRACE(QDF_MODULE_ID_DP,
 					QDF_TRACE_LEVEL_DEBUG,
-					"[%s][%d] msdu_nbuf=%p \n",
+					"[%s][%d] msdu_nbuf=%pK \n",
 					__func__, __LINE__, msdu);
 
 				qdf_nbuf_free(msdu);
@@ -1127,7 +1127,7 @@ dp_rxdma_err_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
 	if (!err_dst_srng) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
 			"%s %d : HAL Monitor Destination Ring Init \
-			Failed -- %p\n",
+			Failed -- %pK\n",
 			__func__, __LINE__, err_dst_srng);
 		return 0;
 	}
@@ -1139,7 +1139,7 @@ dp_rxdma_err_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
 	if (qdf_unlikely(hal_srng_access_start(hal_soc, err_dst_srng))) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
 			"%s %d : HAL Monitor Destination Ring Init \
-			Failed -- %p\n",
+			Failed -- %pK\n",
 			__func__, __LINE__, err_dst_srng);
 		return 0;
 	}

+ 6 - 6
dp/wifi3.0/dp_rx_mon_dest.c

@@ -62,7 +62,7 @@ dp_rx_mon_link_desc_return(struct dp_pdev *dp_pdev,
 		 */
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
 			"%s %d : \
-			HAL RING Access For WBM Release SRNG Failed -- %p\n",
+			HAL RING Access For WBM Release SRNG Failed -- %pK\n",
 			__func__, __LINE__, hal_srng);
 		goto done;
 	}
@@ -179,7 +179,7 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
 
 				QDF_TRACE(QDF_MODULE_ID_DP,
 					QDF_TRACE_LEVEL_DEBUG,
-					"[%s][%d] msdu_nbuf=%p, data=%p\n",
+					"[%s][%d] msdu_nbuf=%pK, data=%pK\n",
 					__func__, __LINE__, msdu, data);
 
 				rx_desc_tlv = HAL_RX_MON_DEST_GET_DESC(data);
@@ -278,7 +278,7 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
 					QDF_TRACE_LEVEL_DEBUG,
 					"rx_pkt_offset=%d, \
 					l2_hdr_offset=%d, msdu_len=%d, \
-					addr=%p\n",
+					addr=%pK\n",
 					rx_pkt_offset,
 					l2_hdr_offset,
 					msdu_list.msdu_info[i].msdu_len,
@@ -702,7 +702,7 @@ mon_deliver_fail:
 		skb_next = qdf_nbuf_next(mon_skb);
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-			"[%s][%d] mon_skb=%p\n", __func__, __LINE__, mon_skb);
+			"[%s][%d] mon_skb=%pK\n", __func__, __LINE__, mon_skb);
 
 		qdf_nbuf_free(mon_skb);
 		mon_skb = skb_next;
@@ -739,7 +739,7 @@ void dp_rx_mon_dest_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
 
 	if (!mon_dst_srng || !hal_srng_initialized(mon_dst_srng)) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"%s %d : HAL Monitor Destination Ring Init Failed -- %p\n",
+			"%s %d : HAL Monitor Destination Ring Init Failed -- %pK\n",
 			__func__, __LINE__, mon_dst_srng);
 		return;
 	}
@@ -750,7 +750,7 @@ void dp_rx_mon_dest_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
 
 	if (qdf_unlikely(hal_srng_access_start(hal_soc, mon_dst_srng))) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"%s %d : HAL Monitor Destination Ring access Failed -- %p\n",
+			"%s %d : HAL Monitor Destination Ring access Failed -- %pK\n",
 			__func__, __LINE__, mon_dst_srng);
 		return;
 	}

+ 4 - 4
dp/wifi3.0/dp_rx_mon_status.c

@@ -220,7 +220,7 @@ dp_rx_mon_status_srng_process(struct dp_soc *soc, uint32_t mac_id,
 	if (!mon_status_srng || !hal_srng_initialized(mon_status_srng)) {
 
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-			"%s %d : HAL Monitor Destination Ring Init Failed -- %p\n",
+			"%s %d : HAL Monitor Destination Ring Init Failed -- %pK\n",
 			__func__, __LINE__, mon_status_srng);
 		return work_done;
 	}
@@ -504,8 +504,8 @@ QDF_STATUS dp_rx_mon_status_buffers_replenish(struct dp_soc *dp_soc,
 			(*desc_list)->rx_desc.cookie, owner);
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-			"[%s][%d] rx_desc=%p, cookie=%d, nbuf=%p, \
-			status_buf=%p paddr=%p\n",
+			"[%s][%d] rx_desc=%pK, cookie=%d, nbuf=%pK, \
+			status_buf=%pK paddr=%pK\n",
 			__func__, __LINE__, &(*desc_list)->rx_desc,
 			(*desc_list)->rx_desc.cookie, rx_netbuf,
 			status_buf, (void *)paddr);
@@ -522,7 +522,7 @@ QDF_STATUS dp_rx_mon_status_buffers_replenish(struct dp_soc *dp_soc,
 		"%d rx desc added back to free list\n", num_desc_to_free);
 
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-		"[%s][%d] desc_list=%p, tail=%p rx_desc=%p, cookie=%d\n",
+		"[%s][%d] desc_list=%pK, tail=%pK rx_desc=%pK, cookie=%d\n",
 		__func__, __LINE__, desc_list, tail, &(*desc_list)->rx_desc,
 		(*desc_list)->rx_desc.cookie);
 

+ 17 - 17
dp/wifi3.0/dp_tx.c

@@ -1013,14 +1013,14 @@ static qdf_nbuf_t dp_tx_send_msdu_single(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 	tx_desc = dp_tx_prepare_desc_single(vdev, nbuf, tx_q->desc_pool_id, meta_data);
 	if (!tx_desc) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			  "%s Tx_desc prepare Fail vdev %p queue %d\n",
+			  "%s Tx_desc prepare Fail vdev %pK queue %d\n",
 			  __func__, vdev, tx_q->desc_pool_id);
 		return nbuf;
 	}
 
 	if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-				"%s %d : HAL RING Access Failed -- %p\n",
+				"%s %d : HAL RING Access Failed -- %pK\n",
 				__func__, __LINE__, hal_srng);
 		DP_STATS_INC(vdev, tx_i.dropped.ring_full, 1);
 		dp_tx_desc_release(tx_desc, tx_q->desc_pool_id);
@@ -1041,7 +1041,7 @@ static qdf_nbuf_t dp_tx_send_msdu_single(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 
 	if (status != QDF_STATUS_SUCCESS) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			  "%s Tx_hw_enqueue Fail tx_desc %p queue %d\n",
+			  "%s Tx_hw_enqueue Fail tx_desc %pK queue %d\n",
 			  __func__, tx_desc, tx_q->ring_id);
 		dp_tx_desc_release(tx_desc, tx_q->desc_pool_id);
 		goto fail_return;
@@ -1090,7 +1090,7 @@ qdf_nbuf_t dp_tx_send_msdu_multiple(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 
 	if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-				"%s %d : HAL RING Access Failed -- %p\n",
+				"%s %d : HAL RING Access Failed -- %pK\n",
 				__func__, __LINE__, hal_srng);
 		DP_STATS_INC(vdev, tx_i.dropped.ring_full, 1);
 		return nbuf;
@@ -1115,7 +1115,7 @@ qdf_nbuf_t dp_tx_send_msdu_multiple(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 
 		if (!tx_desc) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				  "%s Tx_desc prepare Fail vdev %p queue %d\n",
+				  "%s Tx_desc prepare Fail vdev %pK queue %d\n",
 				  __func__, vdev, tx_q->desc_pool_id);
 
 			if (msdu_info->frm_type == dp_tx_frm_me) {
@@ -1140,7 +1140,7 @@ qdf_nbuf_t dp_tx_send_msdu_multiple(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 
 		if (status != QDF_STATUS_SUCCESS) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				  "%s Tx_hw_enqueue Fail tx_desc %p queue %d\n",
+				  "%s Tx_hw_enqueue Fail tx_desc %pK queue %d\n",
 				  __func__, tx_desc, tx_q->ring_id);
 
 			if (tx_desc->flags & DP_TX_DESC_FLAG_ME)
@@ -1488,7 +1488,7 @@ qdf_nbuf_t dp_tx_send(void *vap_dev, qdf_nbuf_t nbuf)
 	 */
 	if (qdf_nbuf_is_tso(nbuf)) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-			  "%s TSO frame %p\n", __func__, vdev);
+			  "%s TSO frame %pK\n", __func__, vdev);
 		DP_STATS_INC_PKT(vdev, tx_i.tso.tso_pkt, 1,
 				qdf_nbuf_len(nbuf));
 
@@ -1508,7 +1508,7 @@ qdf_nbuf_t dp_tx_send(void *vap_dev, qdf_nbuf_t nbuf)
 		nbuf = dp_tx_prepare_sg(vdev, nbuf, &seg_info, &msdu_info);
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-			 "%s non-TSO SG frame %p\n", __func__, vdev);
+			 "%s non-TSO SG frame %pK\n", __func__, vdev);
 
 		DP_STATS_INC_PKT(vdev, tx_i.sg.sg_pkt, 1,
 				qdf_nbuf_len(nbuf));
@@ -1522,7 +1522,7 @@ qdf_nbuf_t dp_tx_send(void *vap_dev, qdf_nbuf_t nbuf)
 		eh = (struct ether_header *)qdf_nbuf_data(nbuf);
 		if (DP_FRAME_IS_MULTICAST((eh)->ether_dhost)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-				  "%s Mcast frm for ME %p\n", __func__, vdev);
+				  "%s Mcast frm for ME %pK\n", __func__, vdev);
 
 			DP_STATS_INC_PKT(vdev,
 					tx_i.mcast_en.mcast_pkt, 1,
@@ -1543,7 +1543,7 @@ qdf_nbuf_t dp_tx_send(void *vap_dev, qdf_nbuf_t nbuf)
 			return NULL;
 
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-			  "%s Raw frame %p\n", __func__, vdev);
+			  "%s Raw frame %pK\n", __func__, vdev);
 
 		goto send_multiple;
 
@@ -1857,14 +1857,14 @@ void dp_tx_comp_fill_tx_completion_stats(struct dp_tx_desc_s *tx_desc,
 	if (!tx_desc->msdu_ext_desc) {
 		if (qdf_nbuf_pull_head(netbuf, tx_desc->pkt_offset) == NULL) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				"netbuf %p offset %d\n",
+				"netbuf %pK offset %d\n",
 				netbuf, tx_desc->pkt_offset);
 			return;
 		}
 	}
 	if (qdf_nbuf_push_head(netbuf, sizeof(struct meta_hdr_s)) == NULL) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			"netbuf %p offset %d\n", netbuf,
+			"netbuf %pK offset %d\n", netbuf,
 			sizeof(struct meta_hdr_s));
 		return;
 	}
@@ -2106,7 +2106,7 @@ uint32_t dp_tx_comp_handler(struct dp_soc *soc, void *hal_srng, uint32_t quota)
 
 	if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-				"%s %d : HAL RING Access Failed -- %p\n",
+				"%s %d : HAL RING Access Failed -- %pK\n",
 				__func__, __LINE__, hal_srng);
 		return 0;
 	}
@@ -2368,7 +2368,7 @@ static int dp_tx_alloc_static_pools(struct dp_soc *soc, int num_pool,
 	for (i = 0; i < num_pool; i++) {
 		if (dp_tx_desc_pool_alloc(soc, i, num_desc)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-					"%s Tx Desc Pool alloc %d failed %p\n",
+					"%s Tx Desc Pool alloc %d failed %pK\n",
 					__func__, i, soc);
 			return ENOMEM;
 		}
@@ -2485,7 +2485,7 @@ QDF_STATUS dp_tx_soc_attach(struct dp_soc *soc)
 	for (i = 0; i < num_pool; i++) {
 		if (dp_tx_ext_desc_pool_alloc(soc, i, num_ext_desc)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				"MSDU Ext Desc Pool alloc %d failed %p\n",
+				"MSDU Ext Desc Pool alloc %d failed %pK\n",
 				i, soc);
 
 			goto fail;
@@ -2499,7 +2499,7 @@ QDF_STATUS dp_tx_soc_attach(struct dp_soc *soc)
 	for (i = 0; i < num_pool; i++) {
 		if (dp_tx_tso_desc_pool_alloc(soc, i, num_desc)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				"TSO Desc Pool alloc %d failed %p\n",
+				"TSO Desc Pool alloc %d failed %pK\n",
 				i, soc);
 
 			goto fail;
@@ -2513,7 +2513,7 @@ QDF_STATUS dp_tx_soc_attach(struct dp_soc *soc)
 	for (i = 0; i < num_pool; i++) {
 		if (dp_tx_tso_num_seg_pool_alloc(soc, i, num_desc)) {
 			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				"TSO Num of seg Pool alloc %d failed %p\n",
+				"TSO Num of seg Pool alloc %d failed %pK\n",
 				i, soc);
 
 			goto fail;

+ 4 - 4
dp/wifi3.0/dp_tx_desc.c

@@ -306,7 +306,7 @@ QDF_STATUS dp_tx_tso_desc_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
 
 	if (!c_element) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-				FL("Alloc Failed %p pool_id %d"),
+				FL("Alloc Failed %pK pool_id %d"),
 				soc, pool_id);
 		return QDF_STATUS_E_NOMEM;
 	}
@@ -318,7 +318,7 @@ QDF_STATUS dp_tx_tso_desc_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
 			qdf_mem_malloc(sizeof(struct qdf_tso_seg_elem_t));
 		if (!c_element->next) {
 			QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-					FL("Alloc Failed %p pool_id %d"),
+					FL("Alloc Failed %pK pool_id %d"),
 					soc, pool_id);
 			goto fail;
 		}
@@ -405,7 +405,7 @@ QDF_STATUS dp_tx_tso_num_seg_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
 
 	if (!c_element) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-				FL("Alloc Failed %p pool_id %d"),
+				FL("Alloc Failed %pK pool_id %d"),
 				soc, pool_id);
 		return QDF_STATUS_E_NOMEM;
 	}
@@ -418,7 +418,7 @@ QDF_STATUS dp_tx_tso_num_seg_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
 
 		if (!c_element->next) {
 			QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
-					FL("Alloc Failed %p pool_id %d"),
+					FL("Alloc Failed %pK pool_id %d"),
 					soc, pool_id);
 			goto fail;
 		}

+ 1 - 1
dp/wifi3.0/hal_rx.h

@@ -1781,7 +1781,7 @@ static inline void hal_rx_msdu_list_get(void *msdu_link_desc,
 	msdu_details = HAL_RX_LINK_DESC_MSDU0_PTR(msdu_link);
 
 	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-		"[%s][%d] msdu_link=%p msdu_details=%p\n",
+		"[%s][%d] msdu_link=%pK msdu_details=%pK\n",
 		__func__, __LINE__, msdu_link, msdu_details);
 
 	for (i = 0; i < HAL_RX_NUM_MSDU_DESC; i++) {