android_kernel_xiaomi_sdm845/lib/raid6
Dirk Müller 6f0d11bfbb 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-20 09:06:30 +02:00
..
test lib/raid6/test: fix multiple definition linking error 2022-04-20 09:06:30 +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:29:11 +02:00
mktables.c
mmx.c
neon.c
neon.uc
recov_avx2.c
recov_avx512.c
recov_s390xc.c
recov_ssse3.c
recov.c
s390vx.uc
sse1.c
sse2.c
tilegx.uc
unroll.awk lib: raid6: fix awk build warnings 2019-12-21 10:42:00 +01:00
x86.h