Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd427586 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/rt: Prevent leaking kernel address



Use %pK instead of %p while printing the rt_rq in
dump_throttled_rt_tasks().

Change-Id: I5bfdbd458003b3a5b80394afc995a4d6f9e0ee0e
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 2df49954
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -917,7 +917,7 @@ static void dump_throttled_rt_tasks(struct rt_rq *rt_rq)
	struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq);

	pos += snprintf(pos, sizeof(buf),
		"sched: RT throttling activated for rt_rq %p (cpu %d)\n",
		"sched: RT throttling activated for rt_rq %pK (cpu %d)\n",
		rt_rq, cpu_of(rq_of_rt_rq(rt_rq)));

	pos += snprintf(pos, end - pos,