Bläddra i källkod

qcacmn: Fix format specifier for printing kernel addr

Change the format specifier to print kernel
virtual addr from %p to %pK.

Change-Id: If87dc3b2bea4154ed2e077a70b258f92a0276aa2
CRs-Fixed: 2213180
Pramod Simha 7 år sedan
förälder
incheckning
6417448381
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      hif/src/ce/ce_service.c

+ 1 - 1
hif/src/ce/ce_service.c

@@ -2889,7 +2889,7 @@ ssize_t hif_dump_desc_event(struct hif_softc *scn, char *buf)
 	qdf_log_timestamp_to_secs(event->time, &secs, &usecs);
 
 	len += snprintf(buf, PAGE_SIZE - len,
-			"\nTime:%lld.%06lld, CE:%d, EventType: %s, EventIndex: %d\nDataAddr=%p",
+			"\nTime:%lld.%06lld, CE:%d, EventType: %s, EventIndex: %d\nDataAddr=%pK",
 			secs, usecs, ce_hist->hist_id,
 			ce_event_type_to_str(event->type),
 			event->index, event->memory);