mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
mm: slub: add type casting in alloc_trace_locations to avoid build warning
Add type casting in alloc_trace_locations to avoid build below warning. mm/slub.c: In function ‘alloc_trace_locations’: mm/slub.c:6322:27: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘long unsigned int’ [-Wformat=] error, forbidden warning: slub.c:6322. Change-Id: I87e337cc73c36274aaaa8dfd384f3f80f0d2d79d Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
This commit is contained in:
parent
376dd78d67
commit
955ebf10d3
1 changed files with 1 additions and 1 deletions
|
|
@ -6145,7 +6145,7 @@ static int alloc_trace_locations(struct seq_file *seq, struct kmem_cache *s,
|
|||
|
||||
seq_printf(seq,
|
||||
"alloc_list: call_site=%pS count=%zu object_size=%zu slab_size=%zu slab_name=%s\n",
|
||||
l->addr, l->count, s->object_size, s->size, s->name);
|
||||
(void *)l->addr, l->count, s->object_size, s->size, s->name);
|
||||
#ifdef CONFIG_STACKTRACE
|
||||
for (j = 0; j < TRACK_ADDRS_COUNT; j++)
|
||||
if (l->addrs[j]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue