]> git.baikalelectronics.ru Git - kernel.git/commit
nds32: fix build error because of wrong semicolon
authorGreentime Hu <greentime@andestech.com>
Tue, 28 Aug 2018 08:07:39 +0000 (16:07 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:20 +0000 (14:45 +0800)
commitaf5092a4a649450332fe8ca55dfe2fa09b250edb
treeb01aa0a13489eebe3993c8a8ebeb76bf5fcbd697
parent60820cb68441023de5d1d695acf87079737d28eb
nds32: fix build error because of wrong semicolon

It shall be removed in the define usage. We shall not put a semicolon there.

/kisskb/src/arch/nds32/include/asm/elf.h:126:29: error: expected '}' before ';' token
 #define ELF_DATA ELFDATA2LSB;
                             ^
/kisskb/src/fs/proc/kcore.c:318:17: note: in expansion of macro 'ELF_DATA'
     [EI_DATA] = ELF_DATA,
                 ^~~~~~~~
/kisskb/src/fs/proc/kcore.c:312:15: note: to match this '{'
    .e_ident = {
               ^
/kisskb/src/scripts/Makefile.build:307: recipe for target 'fs/proc/kcore.o' failed

Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/include/asm/elf.h