summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorRongwei Zhang <pudh4418@gmail.com>2022-11-02 15:27:39 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-11-11 17:44:44 +0300
commit612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b (patch)
treef2d4bc3f93c6e34e16a175a93c208e46ca4bf75f /net/unix/unix_bpf.c
parent62776e4378ae9086115ffd6f8bd9b9c0fe6e6809 (diff)
downloadlinux-612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b.tar.xz
MIPS: fix duplicate definitions for exported symbols
Building with clang-14 fails with: AS arch/mips/kernel/relocate_kernel.o <unknown>:0: error: symbol 'kexec_args' is already defined <unknown>:0: error: symbol 'secondary_kexec_args' is already defined <unknown>:0: error: symbol 'kexec_start_address' is already defined <unknown>:0: error: symbol 'kexec_indirection_page' is already defined <unknown>:0: error: symbol 'relocate_new_kernel_size' is already defined It turns out EXPORT defined in asm/asm.h expands to a symbol definition, so there is no need to define these symbols again. Remove duplicated symbol definitions. Fixes: 7aa1c8f47e7e ("MIPS: kdump: Add support") Signed-off-by: Rongwei Zhang <pudh4418@gmail.com> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions