Browse Source

qcacmn: Fix invalid format specifiers for kernel addr

Change format specifiers to print kernel vaddr from
%p to %pK.

Change-Id: Ice98161bb1b8b5feb1d8ee1ba8a95b7d552f9403
CRs-Fixed: 2211136
Nandha Kishore Easwaran 6 years ago
parent
commit
5840784be3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dp/wifi3.0/dp_rx_mon_dest.c

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

@@ -705,7 +705,7 @@ QDF_STATUS dp_rx_mon_deliver(struct dp_soc *soc, uint32_t mac_id,
 				pdev->monitor_vdev->osif_vdev, mon_mpdu, NULL);
 	} else {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
-				  "[%s][%d] mon_mpdu=%p pdev->monitor_vdev %p osif_vdev %p",
+				  "[%s][%d] mon_mpdu=%pK pdev->monitor_vdev %pK osif_vdev %pK",
 				  __func__, __LINE__, mon_mpdu, pdev->monitor_vdev,
 				  pdev->monitor_vdev->osif_vdev);
 		goto mon_deliver_fail;
@@ -719,8 +719,8 @@ 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 len %u", __func__, __LINE__,
-				  mon_skb, mon_skb->len);
+				  "[%s][%d] mon_skb=%pK len %u", __func__,
+				  __LINE__, mon_skb, mon_skb->len);
 
 		qdf_nbuf_free(mon_skb);
 		mon_skb = skb_next;