Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3853987rwo; Mon, 24 Jul 2023 18:35:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlEmm6aZRNFbkfqn/mA15YW15tYTphRNXj5i+vo8fXvelFnPp1lpGOltfQI3AgK8rsA52UqJ X-Received: by 2002:a17:906:10d6:b0:993:e809:b9ff with SMTP id v22-20020a17090610d600b00993e809b9ffmr11023521ejv.21.1690248915207; Mon, 24 Jul 2023 18:35:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690248915; cv=none; d=google.com; s=arc-20160816; b=x9xxq5T0uXEkn+Xy/tjDeVebVC4kkbmaYUDZFlKRy1lphaW1TyKFs0hJ/5JMX3J9oB JUdr1AKIBnnXSR8v8diZQ+Sg1PfFhSRT23PRlOPWFOig8D/dNB9t5LuXiIqP8fU5HPMq fQmjyFSUeF4ZLHNio+OkqIiZgic7OP/TwfxDb5muEN1ln7HTXZ7z7NRX6ptNv6XOkMA5 7oue2Y/S+3bLjYJ1Zymk66j84eXBdAkbdHwKGB84PTVJANdV2K/8LLN1AiblZcFpbJID 1x4P6F5rHM04EZ40iVoVa7layVKcxSgZ/B/E2ntOgL2LrOUoMPVjAQx6GvhhXo1mWxc4 I3zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ck2gPt/GWb2IT8kwdAXJEumr0Z41D+yrr47h4Niis78=; fh=Hj2oJR306SWFl0DfumBRxDGJuGpqm2i0eHnR/JecRcE=; b=PyZHFaGUnuiSVruZKnsC1Vmn+a1IRknLbmg3Ov+ztTbmTWGW33ZX3P/C+qPid6wEYI HOaD/TcV/sjGKbsdzAmEtJ/FZV7clqHUtqwh2WNEypK0z4pkozKZFhUkd+eScfWGrXuQ 29rVUVzQsdshtAuoF7qeLLi8vB2JwlAnsgUzX+72n6MEzkmoEWtiKrRXlP6d3Yz3BvwC WJH2fNTPSU9FVFISBqui915MW0viw9OgvV6E1W8C39ulg/4FnA6RQ8b8rPUF1av5uSP7 Yo3ZkX+piVN+PFRLvvyk5RQjwQjmq+8/VEKL4JQ6ZotngE/+RRcTYU0U7s+bfzKAYdeM 6e9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GS9RiTPG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a1709064f1000b00997bd26a560si7603610eju.938.2023.07.24.18.34.50; Mon, 24 Jul 2023 18:35:15 -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=@gmail.com header.s=20221208 header.b=GS9RiTPG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbjGYAmS (ORCPT + 99 others); Mon, 24 Jul 2023 20:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjGYAmP (ORCPT ); Mon, 24 Jul 2023 20:42:15 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C3751FC7; Mon, 24 Jul 2023 17:41:40 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-d074da73c7dso3389054276.1; Mon, 24 Jul 2023 17:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690245688; x=1690850488; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ck2gPt/GWb2IT8kwdAXJEumr0Z41D+yrr47h4Niis78=; b=GS9RiTPG9gjUu8M0FDtBhpWkvhtG6ytNbZ7RlLTMFiENwwbRBp5SzRYu4MvyH3/t1S fm4HSqcdHTDmOaR9+x0CdJ7GRcsPoa58LOBc7jEhu3LaWq/kYXdQ/ZTEroEnrLKdmnCq qE5ae1KBa0CYKT8ekV07CDGVYqec+DW1bU02Orpcdajm4XbDNyyHkf5xf6b5HTvjJhty AZ6TYwNRNYS+UHW/eaM+pK2OvEUPxzOGH1bv2SkleUB7jKU/5D4krTEbMgTYG3i9ytYR 7ZFHbfYNMDf9X5sBQRUKnCEBrXuYIk3hu/+U/4uPVaTIpUWzGkAyKP35SLpSp5xInreN rVCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690245688; x=1690850488; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ck2gPt/GWb2IT8kwdAXJEumr0Z41D+yrr47h4Niis78=; b=NkBh3Sx7VEHtyhc/Ph2KpKAv6QbABkE2x4jLTA4eFbLIAK3KBYa5VLB7CXgaSkvtGH 9odHwtUz0dcAsoJ4wGKMJnlDqObX/IXAPUvX1P7uxARoNmgpg9jQup+aUkSKWAxWW4BI F2aCcdIfaMgk53YyhtU5t63us38HihO6a8j5YnzdkLF/pfKIb9sYb88YcxhZY9zO46nl bkvoe6tN2WlxsrIrhKFT6IxiS6qL4wvOSdDYYoRBlpqn0J1krT81qEIp/j2vH7nwup2U pwBdUQAt6sV8XRcCaNEELnX5gy0qErcRjAqFHpQRLkLMf4KZ4qitDuPFaEjJzprOvSVU t2EA== X-Gm-Message-State: ABy/qLZWTy6Fqw7vggHJpEiyGUjtA+scfasjmkF8Ab8mpMZ/4CFtrB5a 9CiXmdIVU3MW7JWN8ANMxUiXk+XGuHIkXmdjq7k= X-Received: by 2002:a25:500b:0:b0:d09:3ad7:a090 with SMTP id e11-20020a25500b000000b00d093ad7a090mr7961791ybb.56.1690245688165; Mon, 24 Jul 2023 17:41:28 -0700 (PDT) MIME-Version: 1.0 References: <20230724131741.954624-1-james.clark@arm.com> In-Reply-To: <20230724131741.954624-1-james.clark@arm.com> From: Miguel Ojeda Date: Tue, 25 Jul 2023 02:41:16 +0200 Message-ID: Subject: Re: [PATCH] scripts/kallsyms: Fix build failure by setting errno before calling getline() To: James Clark Cc: linux-kbuild@vger.kernel.org, masahiroy@kernel.org, linux-kernel@vger.kernel.org, Kees Cook , Greg Kroah-Hartman , Zhen Lei , Miguel Ojeda , Boqun Feng , Arnd Bergmann , Nicolas Schier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Jul 24, 2023 at 3:18=E2=80=AFPM James Clark w= rote: > > This fixes the following build failure if scripts/kallsyms launches with > a non-zero errno value: The code change sounds good to me, but could you please describe the situation where you found the build failure? Cheers, Miguel