OSDN Git Service

raid6/test: fix a compilation warning
authorZhengyuan Liu <liuzhengyuan@kylinos.cn>
Fri, 20 Dec 2019 02:21:27 +0000 (10:21 +0800)
committerSong Liu <songliubraving@fb.com>
Mon, 13 Jan 2020 19:44:09 +0000 (11:44 -0800)
commit5e5ac01c2b8802921fee680518a986011cb59820
tree2c400984bd2f42d71c04d9267c7cc3545113b81b
parent6b8651aac1dca6140dd7fb4c9fec2736ed3f6223
raid6/test: fix a compilation warning

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>
include/linux/raid/pq.h
lib/raid6/mktables.c