summaryrefslogtreecommitdiff
path: root/lib/raid6/mktables.c
diff options
context:
space:
mode:
authorZhengyuan Liu <liuzhengyuan@kylinos.cn>2019-12-20 05:21:27 +0300
committerSong Liu <songliubraving@fb.com>2020-01-13 22:44:09 +0300
commit5e5ac01c2b8802921fee680518a986011cb59820 (patch)
tree2c400984bd2f42d71c04d9267c7cc3545113b81b /lib/raid6/mktables.c
parent6b8651aac1dca6140dd7fb4c9fec2736ed3f6223 (diff)
downloadlinux-5e5ac01c2b8802921fee680518a986011cb59820.tar.xz
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>
Diffstat (limited to 'lib/raid6/mktables.c')
-rw-r--r--lib/raid6/mktables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/mktables.c b/lib/raid6/mktables.c
index 9c485df1308f..f02e10fa6238 100644
--- a/lib/raid6/mktables.c
+++ b/lib/raid6/mktables.c
@@ -56,8 +56,8 @@ int main(int argc, char *argv[])
uint8_t v;
uint8_t exptbl[256], invtbl[256];
- printf("#include <linux/raid/pq.h>\n");
printf("#include <linux/export.h>\n");
+ printf("#include <linux/raid/pq.h>\n");
/* Compute multiplication table */
printf("\nconst u8 __attribute__((aligned(256)))\n"