summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorDirk Müller <dmueller@suse.de>2022-02-08 17:50:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:14:42 +0200
commitda6ca2356d65a6ba53acdddd6792ec8117f2d3c1 (patch)
tree91c8579346501b8cf0c11eb35433d3a8fe481b71 /arch/mips/include
parentf26050b99cb8cd0869cb8178dd71a1a49e41e91a (diff)
downloadlinux-stable-da6ca2356d65a6ba53acdddd6792ec8117f2d3c1.tar.gz
linux-stable-da6ca2356d65a6ba53acdddd6792ec8117f2d3c1.tar.bz2
linux-stable-da6ca2356d65a6ba53acdddd6792ec8117f2d3c1.zip
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>
Diffstat (limited to 'arch/mips/include')
0 files changed, 0 insertions, 0 deletions