android_kernel_motorola_sm6375/lib/raid6
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dirk Müller 002288800e lib/raid6/test: fix multiple definition linking error
commit a5359ddd052860bacf957e65fe819c63e974b3a6 upstream.

GCC 10+ defaults to -fno-common, which enforces proper declaration of
external references using "extern". without this change a link would
fail with:

  lib/raid6/test/algos.c:28: multiple definition of `raid6_call';
  lib/raid6/test/test.c:22: first defined here

the pq.h header that is included already includes an extern declaration
so we can just remove the redundant one here.

Cc: <stable@vger.kernel.org>
Signed-off-by: Dirk Müller <dmueller@suse.de>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-15 14:18:02 +02:00
..
test lib/raid6/test: fix multiple definition linking error 2022-04-15 14:18:02 +02:00
.gitignore
algos.c
altivec.uc
avx2.c
avx512.c
int.uc
Makefile lib/raid6: Let $(UNROLL) rules work with macOS userland 2021-01-19 18:26:15 +01:00
mktables.c raid6/test: fix a compilation warning 2020-02-24 08:36:47 +01:00
mmx.c
neon.c
neon.uc
recov.c
recov_avx2.c
recov_avx512.c
recov_neon.c
recov_neon_inner.c
recov_s390xc.c
recov_ssse3.c
s390vx.uc
sse1.c
sse2.c
unroll.awk lib: raid6: fix awk build warnings 2019-12-17 19:56:09 +01:00
vpermxor.uc
x86.h