Преглед изворни кода

qcacld-3.0: Use %pK format specifier in dp_rx_thread logs

Cleanup logging, usage of %p or %pk will lead to information leak.
Always use %pK instead when ever logging the address.

Change-Id: Id60782855f242175183f88e9f1c2efb9eb578404
CRs-Fixed: 2677373
Manjunathappa Prakash пре 4 година
родитељ
комит
b6a71494fe
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      core/dp/txrx3.0/dp_rx_thread.c

+ 1 - 1
core/dp/txrx3.0/dp_rx_thread.c

@@ -41,7 +41,7 @@ static inline void dp_rx_tm_walk_skb_list(qdf_nbuf_t nbuf_list)
 
 	nbuf = nbuf_list;
 	while (nbuf) {
-		dp_debug("%d nbuf:%pk nbuf->next:%pK nbuf->data:%pk ", i,
+		dp_debug("%d nbuf:%pK nbuf->next:%pK nbuf->data:%pK", i,
 			 nbuf, qdf_nbuf_next(nbuf), qdf_nbuf_data(nbuf));
 		nbuf = qdf_nbuf_next(nbuf);
 		i++;