From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-eopbgr710104.outbound.protection.outlook.com ([40.107.71.104]:46976 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730550AbeIXUwO (ORCPT ); Mon, 24 Sep 2018 16:52:14 -0400 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Greentime Hu , Sasha Levin Subject: [PATCH AUTOSEL 4.18 70/76] nds32: fix build error because of wrong semicolon Date: Mon, 24 Sep 2018 14:48:42 +0000 Message-ID: <20180924144751.164410-69-alexander.levin@microsoft.com> References: <20180924144751.164410-1-alexander.levin@microsoft.com> In-Reply-To: <20180924144751.164410-1-alexander.levin@microsoft.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: From: Greentime Hu [ Upstream commit ec865393292f5ad8d52da20788b3685ebce44c48 ] 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] =3D ELF_DATA, ^~~~~~~~ /kisskb/src/fs/proc/kcore.c:312:15: note: to match this '{' .e_ident =3D { ^ /kisskb/src/scripts/Makefile.build:307: recipe for target 'fs/proc/kcore.o'= failed Signed-off-by: Greentime Hu Signed-off-by: Sasha Levin --- arch/nds32/include/asm/elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/nds32/include/asm/elf.h b/arch/nds32/include/asm/elf.h index 56c479058802..f5f9cf7e0544 100644 --- a/arch/nds32/include/asm/elf.h +++ b/arch/nds32/include/asm/elf.h @@ -121,9 +121,9 @@ struct elf32_hdr; */ #define ELF_CLASS ELFCLASS32 #ifdef __NDS32_EB__ -#define ELF_DATA ELFDATA2MSB; +#define ELF_DATA ELFDATA2MSB #else -#define ELF_DATA ELFDATA2LSB; +#define ELF_DATA ELFDATA2LSB #endif #define ELF_ARCH EM_NDS32 #define USE_ELF_CORE_DUMP --=20 2.17.1