Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3927233imm; Mon, 8 Oct 2018 11:49:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV61EqdhmyQHp6igyQnlJc8TRy4V1AcWme4/AzMgltdbUZ5mCg2KSaAu2JoNCzuOoK821eViN X-Received: by 2002:a63:3203:: with SMTP id y3-v6mr8539303pgy.101.1539024564515; Mon, 08 Oct 2018 11:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539024564; cv=none; d=google.com; s=arc-20160816; b=n5mVBvYE6FdUZNmJouzyPG2Ii8/sAvvtiLh35bjXFEdGIbyTMzd7MgudgWM07149Xm WREJP8LDjXiNvfdn1038tNgw6IGsLQHKjMOu/Z3RhpNvLDbPJe5AX51r73R1fYvLeNyq UaFfzF+z1aqqld2YMdubDlaqTaauxU4zMUuq39RgaBniRf3hzI8d74jS7VmPOtuYB1CA K6pI59R1l54L2WGcAnZc7ax9xF4yB19cg3+k6YrPaPcEjmSxDo4FsNhfWXbqlYIJdOps 4jxcb0+mkFgQ+lqEaSWIqLBl77iDZlqZxWKL9ANrLd6XJUgi3Mxgj0cD2xfXRoSrfn8k n8UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lhbVAc+vl3WxgiX1LCoUDXw+r9o+zfzKlOuTsCF3eq0=; b=rkwxdSDfj/Tt4ZN537YmezOlD6vquVA6crkZ3DnfLW2RxRyNCjjeso++WyJVrDWbiu 3wG4yt9XVKagbD8kn4q+0rzRt5fB3oNRMWFny2OGhJ7/vItAk1mLCxUPq8f6rhzym0Qj nImxFUgCAmRPjKqR8mHuTDD6kqH4GXY7E8dVEUN80f3X7w7zT+gVtrb0OoWb244vY7xI l2v1ptY9IhnlvOkamFr1xE/+vV7f47TTrwHcGdwIapPj86CmfRdnfE3dhWqLnek3Xbbf D45tc1QVdWjFVHqQ3m8DnwTSjLba/TrR4h3LNdHo1abHlU38IT22wagSa0qk6ypWCwFU uzNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p33AiDgS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5-v6si13899265pgl.419.2018.10.08.11.49.09; Mon, 08 Oct 2018 11:49:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p33AiDgS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731741AbeJICBz (ORCPT + 99 others); Mon, 8 Oct 2018 22:01:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:51082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbeJICBy (ORCPT ); Mon, 8 Oct 2018 22:01:54 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1BA62204FD; Mon, 8 Oct 2018 18:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539024527; bh=W4QCjauf1T4jsfZGRdHEUA4WTmHgk1EXhZiqir/X5ak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p33AiDgSAq8ECY6BQO7lxiW/ILsXBvLzwtXUE2wWay9UgjejyInNtWFA0uYdda19A rQpouB9uOEJ0aiRftNJ8/kbcuahPv8ccuMMm3NQLXxNfBR/wE+rVDL29FaHWn7DbgM qLfDHWeyShZ+doLja4r37tXkSOW2CMSobXZelqRE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Greentime Hu , Sasha Levin Subject: [PATCH 4.18 070/168] nds32: fix build error because of wrong semicolon Date: Mon, 8 Oct 2018 20:30:50 +0200 Message-Id: <20181008175622.726538952@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181008175620.043587728@linuxfoundation.org> References: <20181008175620.043587728@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ 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] = 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 Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/nds32/include/asm/elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 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