diff options
author | Mike Rapoport (IBM) <rppt@kernel.org> | 2023-09-14 10:45:40 +0300 |
---|---|---|
committer | Mike Rapoport (IBM) <rppt@kernel.org> | 2023-09-14 10:51:28 +0300 |
commit | 55122e0130e51eb71f5ec62d10525db0468f28e8 (patch) | |
tree | 25fa44a0794a7ea994f5c308de61afec63a0e600 /tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py | |
parent | 5e1bffbdb63baf89f3bf0b6bafb50903432a7434 (diff) |
memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
Building memblock tests produces the following warning:
cc -I. -I../../include -Wall -O2 -fsanitize=address -fsanitize=undefined -D CONFIG_PHYS_ADDR_T_64BIT -c -o main.o main.c
In file included from tests/common.h:9,
from tests/basic_api.h:5,
from main.c:2:
./linux/memblock.h:601:50: warning: ‘struct seq_file’ declared inside parameter list will not be visible outside of this definition or declaration
601 | static inline void memtest_report_meminfo(struct seq_file *m) { }
| ^~~~~~~~
Add declaration of 'struct seq_file' to tools/include/linux/seq_file.h
to fix it.
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py')
0 files changed, 0 insertions, 0 deletions