Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754096AbbEKNxj (ORCPT ); Mon, 11 May 2015 09:53:39 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:32976 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751701AbbEKNxi (ORCPT ); Mon, 11 May 2015 09:53:38 -0400 Date: Mon, 11 May 2015 15:53:33 +0200 From: Ingo Molnar To: sylvain.bertrand@gmail.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: Fix mkcapflags.sh bash-ism again Message-ID: <20150511135333.GA5045@gmail.com> References: <20141229154324.GA27533@dhcppc1> <20150427152102.GA10371@freedom> <20150509234137.GA23627@freedom> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150509234137.GA23627@freedom> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 41 * sylvain.bertrand@gmail.com wrote: > On Mon, Apr 27, 2015 at 03:21:02PM +0000, sylvain.bertrand@gmail.com wrote: > > While compiling linux, dash shell reports a bash-ism: > > > > /src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: 9: /src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: Syntax error: "(" unexpected > > > > See: > > http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05 > > > > Cc: Ingo Molnar > > Signed-off-by: Sylvain BERTRAND > > --- > > Forgot that fix: > > --- a/arch/x86/kernel/cpu/mkcapflags.sh > > +++ b/arch/x86/kernel/cpu/mkcapflags.sh > > @@ -6,7 +6,7 @@ > > IN=$1 > > OUT=$2 > > > > -function dump_array() > > +dump_array() > > { > > ARRAY=$1 > > SIZE=$2 > > What's up with this patch? It's upstream, as commit: e85bd9892c4f x86/build: Fix mkcapflags.sh bash-ism thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/