aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2023-02-09 01:08:25 +0000
committerGeert Uytterhoeven <[email protected]>2023-02-13 10:34:49 +0000
commit1e5b5df65af99013b4d31607ddb3ca5731dbe44d (patch)
treeec0af64bd94fd4135fb59a364123ea2a21747c05 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parentselftests/seccomp: Add m68k support (diff)
downloadkernel-1e5b5df65af99013b4d31607ddb3ca5731dbe44d.tar.gz
kernel-1e5b5df65af99013b4d31607ddb3ca5731dbe44d.zip
m68k: /proc/hardware should depend on PROC_FS
When CONFIG_PROC_FS is not set, there is a build error for an unused function. Make PROC_HARDWARE depend on PROC_FS to prevent this error. In file included from ../arch/m68k/kernel/setup.c:3: ../arch/m68k/kernel/setup_mm.c:477:12: error: 'hardware_proc_show' defined but not used [-Werror=unused-function] 477 | static int hardware_proc_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~~~~~~ Fixes: 66d857b08b8c ("m68k: merge m68k and m68knommu arch directories") # v3.0 Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions