raid6/test: fix a compilation warning
authorZhengyuan Liu <liuzhengyuan@kylinos.cn>
Fri, 20 Dec 2019 02:21:27 +0000 (10:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:47 +0000 (08:36 +0100)
commita922fa72a8606154f5a92d151bb47aa2a6476281
tree1c53aed0a4e2dbc6d6f339a4a6c5fc28c82abb7b
parent6cfe307b5be7aacec142ebac62d128b2f92aa0a1
raid6/test: fix a compilation warning

[ Upstream commit 5e5ac01c2b8802921fee680518a986011cb59820 ]

The compilation warning is redefination showed as following:

        In file included from tables.c:2:
        ../../../include/linux/export.h:180: warning: "EXPORT_SYMBOL" redefined
         #define EXPORT_SYMBOL(sym)  __EXPORT_SYMBOL(sym, "")

        In file included from tables.c:1:
        ../../../include/linux/raid/pq.h:61: note: this is the location of the previous definition
         #define EXPORT_SYMBOL(sym)

Fixes: 69a94abb82ee ("export.h, genksyms: do not make genksyms calculate CRC of trimmed symbols")
Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/raid/pq.h
lib/raid6/mktables.c