Browse Source

qcacmn: Fix invalid format specifiers for kernel addr

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

Change-Id: Iccb0a4dae03f28533a6933cb6b60449315d159ee
CRs-Fixed: 2211136
Pramod Simha 6 years ago
parent
commit
5a03e749e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dp/wifi3.0/dp_rx_mon_dest.c

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

@@ -304,7 +304,7 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
 #endif
 			QDF_TRACE(QDF_MODULE_ID_DP,
 					  QDF_TRACE_LEVEL_DEBUG,
-					  "%s: rx_pkt_offset=%d, l2_hdr_offset=%d, msdu_len=%d, addr=%p skb->len %lu",
+					  "%s: rx_pkt_offset=%d, l2_hdr_offset=%d, msdu_len=%d, addr=%pK skb->len %lu",
 					  __func__, rx_pkt_offset, l2_hdr_offset,
 					  msdu_list.msdu_info[i].msdu_len,
 					  qdf_nbuf_data(msdu), qdf_nbuf_len(msdu));