Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4871333ybv; Mon, 17 Feb 2020 07:30:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzpXpFQkn1u2f50FbAuKWwoyvEpn5mFaasXXqgI7gZb7RS3i73YwKkCzWFArx8j0Zg1mhPX X-Received: by 2002:a05:6808:b15:: with SMTP id s21mr9641649oij.123.1581953458103; Mon, 17 Feb 2020 07:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581953458; cv=none; d=google.com; s=arc-20160816; b=GyMxTiyM09xwFr8sjStfble+NoHUYUmTVaYpfPpqdvinVCBkpBVW0Z1963KtHCtdnH 7c2qmvM1wtDCyzgvCitU7emvdirbrxAp3orwMMx1T0lkxlyfcwhKxDro+FcPG2jcTjvv OBK/dWbokUB/IKndS/F50MrgX8lwRlny4imynVBYMOJx9OS9fSwwxQvsVEbX837NfvHT hu848Fvz3idoOdYEuQIS4kjckueVKTVw/Ina7zq9XEnMwclb9yBx9+2lhy1ENhR/CUHo YA7XexYTQjZa4+G7Fktp7f5H425BQvvtPVwnkxXLWjkLVyUIQuJWtU9WNQZwA7RRqLNS u9tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xLlxKzyyWAgwu5oWmWZ61hqmpwUHLeY8xWAp5SqH8Fk=; b=LJJaV8bnCLX5oa1UInVg+mgpjGvFB0dpNOMpK8qIR1o8xungvaadr/bQn3AV6rLyqI czmcbdF6OnWlxRi40/hPE4z8KwTWZ2YssDRNuMj9RZi/PFeUJmfMhq55izYClziK920Q hxF3325jyXrgTPLpK5AD3XwFJy9ca4RRI0PgTHKcrvp5VhyBQ8siKsOkqLEtxbXAnW4p usj9DXSxCMTOqfMvkZM6llbzBBb2ak1ldCrecu6ZdzI87l8b9hQfa6YN9Re+oTspKfhc sHot2SKTvpjNJJSGUM4e5kwRmDhRFz8nW6TKFTHDr/HIY0UpjcsI2wl2j93D2x500fx7 AuPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=S+zAvmD2; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si307918otl.133.2020.02.17.07.30.46; Mon, 17 Feb 2020 07:30:58 -0800 (PST) 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=@google.com header.s=20161025 header.b=S+zAvmD2; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728468AbgBQPa3 (ORCPT + 99 others); Mon, 17 Feb 2020 10:30:29 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:32812 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728441AbgBQPa3 (ORCPT ); Mon, 17 Feb 2020 10:30:29 -0500 Received: by mail-wm1-f67.google.com with SMTP id m10so155395wmc.0 for ; Mon, 17 Feb 2020 07:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xLlxKzyyWAgwu5oWmWZ61hqmpwUHLeY8xWAp5SqH8Fk=; b=S+zAvmD2yQ1EwqGwVy0jNbBc/JnoNJtkB7V+I0iY30+puKcRQ3ibMXnxTnI79NBIPE PLm14M2VSI6EuVv7CGUCMbgYGg9aIm5S7xF4Lk0eegbEUVAsYTCKV9JcR+V+DNmr3cy6 iwGrFgpx7er8cqaKL7Dt7x7Lhss8M8PtD74WBQV3mV90uZhRfGIesDOTk1PtcEnDZNSp zjqAhvujcP5bT+MYRei5SqUF+TopSAO0XMC2CaO08i49zKAcBSiCnfPLGL6wXozD+7hF Wp4l4kYz1X4RvhVrO3Im3P5kC7zPp4RNiQV3iODXhVppVxoaxO0VwdWJw1d8wtgM3WSS /WiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xLlxKzyyWAgwu5oWmWZ61hqmpwUHLeY8xWAp5SqH8Fk=; b=pbX9z2hF/fn0up92xZsp0qwcv+KaLgAo3A7eBw8T0PEZG4pqW1Qnpyvol6naMLEGix pdYRaRYXb4KNiGjgMM7R8OgEPJV3bumfOUVozs/mQ1PY0IJBEoVmoAl3lpwd+hqBialw 4DQUC4GHR2EWAfYpvy9QxmeBl187xQfaabhT3kzDxtc5i08SAvyeYiA/zahCeJr7AaXo bNwSKO/8qk8UO9GR99Vdfye9ZyBD/ae9jRpIV6EwrXYWcgGu9o7J6c2TGrfpHbRKLmfT SzC8qyQtJco9J2yP6gDCiTZ7Kw013csnzEwbBI8h8SSt0WUPGGg6+B7rR4f5fYYLyEKm NS2A== X-Gm-Message-State: APjAAAUYH81u8+toyDxGyj3YYSUSz+JyDWWQbt/R9JvgdHQH1hNJFim5 L/vZx6p5XX4BgI9q0eapF3F8LQ== X-Received: by 2002:a1c:9d07:: with SMTP id g7mr22547282wme.130.1581953427019; Mon, 17 Feb 2020 07:30:27 -0800 (PST) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id y12sm1436973wrw.88.2020.02.17.07.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 07:30:26 -0800 (PST) Date: Mon, 17 Feb 2020 15:30:23 +0000 From: Quentin Perret To: Matthias Maennich Cc: masahiroy@kernel.org, nico@fluxnic.net, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-team@android.com, jeyu@kernel.org, hch@infradead.org Subject: Re: [PATCH v4 1/3] kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS Message-ID: <20200217153023.GA71210@google.com> References: <20200212202140.138092-1-qperret@google.com> <20200212202140.138092-2-qperret@google.com> <20200217152201.GA48466@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200217152201.GA48466@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 17 Feb 2020 at 15:22:01 (+0000), Matthias Maennich wrote: > In case the whitelist file can't be found, the error message is > > cat: path/to/file: file not found > > I wonder whether we can make this error message a bit more specific by > telling the user that the KSYMS_WHITELIST is missing. +1, that'd be really useful. I'll check the file existence in v5 (in a POSIX-compliant way, I promise). > With the above addressed (and your amend for the absolute path test), > please feel free to add > > Tested-by: Matthias Maennich > Reviewed-by: Matthias Maennich Thanks! Quentin