Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2224427iof; Tue, 7 Jun 2022 23:44:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTBQtlko6uhaF78U2ud4P2nyrdDh2Ns/TIktzeQ9AlvuLEPCg8jOZW3QuxNx4r8KsQb+n8 X-Received: by 2002:a62:1a90:0:b0:51c:24cf:b9af with SMTP id a138-20020a621a90000000b0051c24cfb9afmr12313108pfa.7.1654670680634; Tue, 07 Jun 2022 23:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654670680; cv=none; d=google.com; s=arc-20160816; b=rsvXviTxYcjHISJWGmOmHCG+BMrBvwFToAVc8Lk2M42z0bKAyg8dMwxIdnIPcqyiub oeBLOEjb/QM1NbMbaP4TwvE+lFH/8WT3yPXm/Dj2NsqHhITXRbb2Ynhei02ddN25E3sW 37r7W69lT1tqV9oERpKfimqN6NMcs71wHSGIH/khhoYJ9ER+wNVcP0CN+e0br4uvF3z7 OtH/ucohnxendHgVLj6A+i25AK3P654YwVInvO/iXe9SEZPBqOZyt+PToRPsxkstkLk/ +NaJfbCS5OByqU+hZxBbi3Zh1l6iBhx4oVYOrdFsmckmWmB7AqECIIMqRmyvQq4Y0OiC iNzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=S/dDT9BasIRXgEc6RVl1cw8Lg+oN+87n3tvQW1y0y5s=; b=FrJrQfaEsjpRkZ8ueRNRIbdTdKlXiM/iZ1GDF0tjZMDQTnsTPJaZLvLNXbZLETPXxV 3B4JUIQuAyVXoL550h3sqdB8P0cgN/EcdW760RJcYDYRdPcFWSsXLjTwMIlPkLBrWc/9 njdL8ZbXGQLtcRhJ8XaEMyk0P0Vu431iYPv+a1bFNvLq9xqoOJfkuiheaKFTni9L8+N3 j2iG5+xoHhNpx5/c1YbYivMHTZ2yaLEByAv6mHYySQ+hJazbp1LAB+JyV5hQsSEmlGJn 8MxV4m03QIJ6u3IsQzr6gI7fovudcgozpUq05IdRraMPA+LNzhBmCPBXGrcKH+ISE5Tw /FDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pq13qCUB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a170903018e00b00163e4c8ddebsi16989642plg.21.2022.06.07.23.44.22; Tue, 07 Jun 2022 23:44:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pq13qCUB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230387AbiFHDjj (ORCPT + 99 others); Tue, 7 Jun 2022 23:39:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232526AbiFHDil (ORCPT ); Tue, 7 Jun 2022 23:38:41 -0400 X-Greylist: delayed 29312 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 07 Jun 2022 17:50:58 PDT Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A987F22719B; Tue, 7 Jun 2022 17:50:57 -0700 (PDT) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 2580nRkD001938; Wed, 8 Jun 2022 09:49:28 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 2580nRkD001938 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1654649368; bh=S/dDT9BasIRXgEc6RVl1cw8Lg+oN+87n3tvQW1y0y5s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pq13qCUBav9taDdoORZZRTDKLMDvrfYbTVf3hheu/c7GIcZWOp3FSECkf/nMzqOtz Nss58zZNp5V9eVt51avZZzKZo+LW3w/t4aEPM1k/Nro3WbOZBbfBcxrr1Z76tGP1da 5cdvJbxeeus1daNCFmDT2g4qXbO0Ek9MBtkbLIeqsD78Its7iAq13+kWW3T35n2jxN e/jyVp3foB1lXZIJkew7eKvyH84x/u185Truwq+E076MhLm3TfdMiwxqi8GtMXfXb7 WG7r40QZal3l9XN2q6g0CYH5OADQwhn3liydeQ62kxz4c9bHHel9zA8YsLJRWLd/DQ 0ZUp2ZfKsK9uA== X-Nifty-SrcIP: [209.85.214.178] Received: by mail-pl1-f178.google.com with SMTP id n18so16262995plg.5; Tue, 07 Jun 2022 17:49:27 -0700 (PDT) X-Gm-Message-State: AOAM533lkkb5qxcGU36RjS5N6j8kxF6xd/7enOlLsoxT6oc/gbPR3gMZ 8I6I0Ej3bbsnLU9lYBHaueRcHhqhMnQ2wmdFAOE= X-Received: by 2002:a17:90b:3a87:b0:1e8:789d:c60 with SMTP id om7-20020a17090b3a8700b001e8789d0c60mr15749985pjb.77.1654649367064; Tue, 07 Jun 2022 17:49:27 -0700 (PDT) MIME-Version: 1.0 References: <20220607164000.447941-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Wed, 8 Jun 2022 09:48:50 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] scripts/check-local-export: avoid 'wait $!' for process substitution To: Nick Desaulniers Cc: Linux Kbuild mailing list , Tetsuo Handa , Michael Ellerman , Wang Yugui , Jon Hunter , Jonathan Corbet , Nathan Chancellor , Tom Rix , "open list:DOCUMENTATION" , Linux Kernel Mailing List , clang-built-linux Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 8, 2022 at 2:24 AM Nick Desaulniers wrote: > > On Tue, Jun 7, 2022 at 9:41 AM Masahiro Yamada wrote: > > > > Bash>=4.4 supports 'wait $!' to check the exit status of a process > > substitution, but some people using older bash versions reported an > > error like this: > > > > Reported-by: Tetsuo Handa > > Reported-by: Michael Ellerman > > Reported-by: Wang Yugui > > Tested-by: Tetsuo Handa > > Tested-by: Jon Hunter > > Signed-off-by: Masahiro Yamada > > Acked-by: Nick Desaulniers > > Some comments below. > > > diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst > > index 34415ae1af1b..19c286c23786 100644 > > --- a/Documentation/process/changes.rst > > +++ b/Documentation/process/changes.rst > > @@ -32,6 +32,7 @@ you probably needn't concern yourself with pcmciautils. > > GNU C 5.1 gcc --version > > Clang/LLVM (optional) 11.0.0 clang --version > > GNU make 3.81 make --version > > +bash 4.2 bash --version > > /usr/bin/env bash > and definitely /bin/bash > both show up a lot in kernel sources. At this point, I think bash is a > requirement at this point, so it's good to document it finally. > > > +# If there is no symbol in the object, ${NM} (both GNU nm and llvm-nm) shows > > +# 'no symbols' diagnostic (but exits with 0). It is harmless and hidden by > > +# '2>/dev/null'. However, it suppresses real error messages as well. Add a > > +# hand-crafted error message here. > > +# > > +# Use --quiet instead of 2>/dev/null when we upgrade the minimum version of > > +# binutils to 2.37, llvm to 13.0.0. > > Might be nice to include `TODO:` in the comment block. Vim will > highlight these in comments. OK. will do. Thanks. -- Best Regards Masahiro Yamada