android_kernel_motorola_sm6225/lib/raid6
Dirk Müller da6ca2356d 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:14:42 +02:00
..
test lib/raid6/test: fix multiple definition linking error 2022-04-15 14:14:42 +02:00
.gitignore
algos.c
altivec.uc
avx2.c
avx512.c
int.uc
Makefile ARM: 8833/1: Ensure that NEON code always compiles with Clang 2019-04-05 22:33:08 +02:00
mktables.c
mmx.c
neon.c
neon.uc lib/raid6: use vdupq_n_u8 to avoid endianness warnings 2020-04-23 10:30:15 +02:00
recov.c
recov_avx2.c
recov_avx512.c
recov_neon.c
recov_neon_inner.c lib/raid6: use vdupq_n_u8 to avoid endianness warnings 2020-04-23 10:30:15 +02:00
recov_s390xc.c
recov_ssse3.c
s390vx.uc
sse1.c
sse2.c
unroll.awk lib: raid6: fix awk build warnings 2019-12-17 20:34:51 +01:00
vpermxor.uc
x86.h