From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 981F5C4361B for ; Tue, 15 Dec 2020 12:42:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49E82224D4 for ; Tue, 15 Dec 2020 12:42:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49E82224D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y45NMsM1gI1p4bfP9TVND+DJxzqqb2CDQwbzcXzdrDo=; b=LQDjjnm2UmtuaNeD3/jLH5e3Y Gy6fO1eM6JKMl2d9nyOGsaY7KmiCBHx2PBYQ51JsTL/j+o5KRdK4A3hziqUdg3uY2QcfYrq2rPMef zM4VDF60ESEqdNzl5E8TCwRRynqtMoNZuIRoQNtuifoQS2DbEIj/2/7gBIwds41n++OoCg7iPHHuN eZKKfi1H/q7NeBE1UYbHJ4TLJS3a+nrqwApNYglAU0jefoYS70wEnZY65Y2TUi/US+nvDldaWCLOo aYStDd28DIv/xT0GglYzLxf8IJQu0ATbSMtoiiB2reQp/uj4YA/aR5Jxc9mDF4SpZzDUUhVX1Alfo QxIVBF7bw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kp9df-0005ux-VU; Tue, 15 Dec 2020 12:41:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kp9dc-0005ub-Q1 for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2020 12:41:09 +0000 Date: Tue, 15 Dec 2020 12:41:04 +0000 From: Catalin Marinas To: John Millikin Subject: Re: [PATCH] arm64: Support running gen_vdso_offsets.sh with BSD userland. Message-ID: <20201215124104.GC2511@gaia> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_074108_929646_7AD2AF36 X-CRM114-Status: GOOD ( 15.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Dec 14, 2020 at 05:03:52PM +0900, John Millikin wrote: > BSD sed ignores whitespace character escape sequences such as '\t' in > the replacement string, causing this script to produce the following > incorrect output: > > #define vdso_offset_sigtrampt0x089c > > Changing the hard tab to ' ' causes both BSD and GNU dialects of sed > to produce equivalent output. > > Signed-off-by: John Millikin > --- > arch/arm64/kernel/vdso/gen_vdso_offsets.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kernel/vdso/gen_vdso_offsets.sh b/arch/arm64/kernel/ > vdso/gen_vdso_offsets.sh > index 8b806eacd0a6..0387209d65b1 100755 > --- a/arch/arm64/kernel/vdso/gen_vdso_offsets.sh > +++ b/arch/arm64/kernel/vdso/gen_vdso_offsets.sh > @@ -13,4 +13,4 @@ > > LC_ALL=C > sed -n -e 's/^00*/0/' -e \ > -'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/ > p' > +'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p' > -- > 2.24.3 (Apple Git-128) I'm ok with the patch but could you please send it with git send-email? More importantly, as text/plain as it arrived as html in my inbox and the mailing list blocked it. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel