1
0
Fork 0
alistair23-linux/arch/mips/lib
Arnd Bergmann b668970e61 MIPS: Fix modversions
kernelci.org reports tons of build warnings for linux-next:

35	WARNING: "memcpy" [fs/fat/msdos.ko] has no CRC!
35	WARNING: "__copy_user" [fs/fat/fat.ko] has no CRC!
32	WARNING: EXPORT symbol "memset" [vmlinux] version generation failed, symbol will not be versioned.
32	WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned.
32	WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned.
32	WARNING: EXPORT symbol "__strncpy_from_user_nocheck_asm" [vmlinux] version generation failed, symbol will not be versioned.

The problem here is mainly the missing asm/asm-prototypes.h header file
that is supposed to include the prototypes for each symbol that is exported
from an assembler file.

A second problem is that the asm/uaccess.h header contains some but not
all the necessary declarations for the user access helpers.

Finally, the vdso build is broken once we add asm/asm-prototypes.h, so
we have to fix this at the same time by changing the vdso header. My
approach here is to just not look for exported symbols in the VDSO
assembler files, as the symbols cannot be exported anyway.

Fixes: 576a2f0c5c ("MIPS: Export memcpy & memset functions alongside their definitions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15038/
Patchwork: https://patchwork.linux-mips.org/patch/15069/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-24 18:30:35 +01:00
..
Makefile MIPS: Use ARCH_USE_BUILTIN_BSWAP. 2015-10-26 09:49:43 +01:00
ashldi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
ashrdi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
bitops.c MIPS: Remove unneeded volatile from arch/mips/lib/bitops.c 2013-05-08 01:19:06 +02:00
bswapdi.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
bswapsi.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
cmpdi2.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
csum_partial.S MIPS: Export csum functions alongside their definitions 2017-01-03 16:34:50 +01:00
delay.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
dump_tlb.c MIPS: dump_tlb: Fix printk continuations 2016-11-04 01:04:32 +01:00
iomap-pci.c MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY 2016-10-06 18:00:05 +02:00
iomap.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
libgcc.h MIPS: libgcc.h: Checkpatch cleanup 2010-04-12 17:26:15 +01:00
lshrdi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
memcpy.S MIPS: Export memcpy & memset functions alongside their definitions 2017-01-03 16:34:50 +01:00
memset.S MIPS: Export memcpy & memset functions alongside their definitions 2017-01-03 16:34:50 +01:00
mips-atomic.c MIPS: Cleanup the unused __arch_local_irq_restore() function 2016-01-22 01:58:49 +01:00
r3k_dump_tlb.c MIPS: dump_tlb: Fix printk continuations 2016-11-04 01:04:32 +01:00
strlen_user.S MIPS: Fix modversions 2017-01-24 18:30:35 +01:00
strncpy_user.S MIPS: Fix modversions 2017-01-24 18:30:35 +01:00
strnlen_user.S MIPS: Fix modversions 2017-01-24 18:30:35 +01:00
ucmpdi2.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
uncached.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00