diff options
author | Dirk Müller <dmueller@suse.de> | 2022-02-08 19:50:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:01 +0300 |
commit | d342786a0e94e779d983b2348b1971b6ac9b62f0 (patch) | |
tree | fe4a5592d8642cc0bde8c19eb3d6b0e46da55ceb /.gitattributes | |
parent | 137c66d5f915249ba8c1b5cc25bb0e582d54d925 (diff) | |
download | linux-d342786a0e94e779d983b2348b1971b6ac9b62f0.tar.xz |
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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions