linux-next: build failure after merge of the mm tree
Hi all,
After merging the mm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
In file included from include/linux/page_ext.h:7,
from include/linux/mm.h:22,
from security/min_addr.c:3:
include/linux/stackdepot.h:116:26: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
116 | void *stack_start(struct seq_file *m, loff_t *ppos);
| ^~~~~~~~
include/linux/stackdepot.h:117:25: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
117 | void *stack_next(struct seq_file *m, void *v, loff_t *ppos);
| ^~~~~~~~
include/linux/stackdepot.h:118:24: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
118 | int stack_print(struct seq_file *m, void *v);
| ^~~~~~~~And many, many more ...
Caused by commit
e435b85a4aea ("mm, page_owner: add page_owner_stacks file to print out only stacks and their counte")
I have applied the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Thu, 18 May 2023 09:39:46 +1000
Subject: [PATCH] fix for "mm, page_owner: add page_owner_stacks file to print
out only stacks and their counte"
Signed-off-by Stephen Rothwell <[email protected]>
--- include/linux/stackdepot.h | 1 + 1 file changed, 1 insertion(+)
include/linux/stackdepot.h +1 -0
@@ -113,6 +113,7 @@ depot_stack_handle_t stack_depot_save(unsigned long *entries, unsigned int nr_entries, gfp_t gfp_flags);#ifdef CONFIG_PAGE_OWNER +struct seq_file ;void *stack_start (struct seq_file *m,loff_t *ppos);void *stack_next (struct seq_file *m,void *v,loff_t *ppos);int stack_print (struct seq_file *m,void *v);
Signature · 5 lines
2.39.2 -- Cheers, Stephen Rothwell