Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4910209ybv; Mon, 17 Feb 2020 08:16:00 -0800 (PST) X-Google-Smtp-Source: APXvYqxDzrpeUpf6v3eTSVK2BmCZheyi0JeKP3kN+GUO57mgmyZ0j0eQBjKc8OBWp0Mv+pO4h0ik X-Received: by 2002:a9d:7f12:: with SMTP id j18mr13557914otq.17.1581956160063; Mon, 17 Feb 2020 08:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581956160; cv=none; d=google.com; s=arc-20160816; b=SDIixQztnqOfN1zt66+dtN4+rK5opS053BcQrueFNkFFcQdPpRPZS6crBejB2NJ8vM 1lnKr+p7tsL1gvHrSpuQ3rfcbENZPaDQW8++vVx8rGhBfm/WcWLWqHSbBUqrcJJNeium wv9FGYDCX/bl/AP7Rtq7oQXbW4nsWRP/3T5PrBSQBa2fTio1yDJa5BnfOx2cZ0eyTHQ0 YSVRsmsN8agQCsA90adetDgdiXIDFHi5TGVQayB6GsHNLGAIiHvcEmUMi5Sb7gtSTYZG QDHukWvAeAvazCnHGLutZtjrWeiX2mPSXQaknCJPzeDi5UD4kRUmQQygMYiY6HiIRbti +m1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=ZSz5AcpfXrM7IkJ0J/8+QmHHxzenBdIfnFwRb2xrRYA=; b=n8yS7nc5RC02Nj7bAn2ySuiL4OUjzBcnXkp1kjss/4nJLKVaBghyJEAwuJfA/KGosC IlY8E66bQ0y0eOrxRIkF/4gQFbYLMoG+fLV57ln3e6unyJMxKnSrtfPH2QqYpiI3DzoT 05LNFUGwZI4kcFftWZgtCZECUGN4ke5iQFDXzXNwvikp5Iy/gR29bWuO6aRtLZtq+21p HnZ28Z9XNjTkicfHPCihKPe4UhAsukluuzGCCL4K6cRoMRzf4YDA/PaLkw6kVtqpTOut b8pz+LMLbmDeGCexPXrRUpua+w+Y+deg61aXfAWA6ths+qcoRZC/GhhSfWrzFyzH+YUJ Oseg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=B5+UnAVh; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=pj+Qrzbz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k202si6439470oih.244.2020.02.17.08.15.47; Mon, 17 Feb 2020 08:16:00 -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=@pobox.com header.s=sasl header.b=B5+UnAVh; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=pj+Qrzbz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729488AbgBQQAn (ORCPT + 99 others); Mon, 17 Feb 2020 11:00:43 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:55575 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727277AbgBQQAn (ORCPT ); Mon, 17 Feb 2020 11:00:43 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id EDC795CE84; Mon, 17 Feb 2020 11:00:40 -0500 (EST) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=2CMqNie/jgw27GZLCTfFeu7CdIg=; b=B5+UnA VhqAWU3+g3omzzdBVexEpAa+wKzJF+DQ73CPdMwDpjCMxleLkCkFcZEK5Nnqjz6E Ukw8Yu901D2gPGF5dKgwbz/bCLmrV+ZoHK8Ot3D8u5qCR927mSctKW2jBLc+SM1D 7C5MtwPWqYdGG5WIXUfIt48/F6vjBeG0IKzKU= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id E2F155CE83; Mon, 17 Feb 2020 11:00:40 -0500 (EST) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fluxnic.net; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=2016-12.pbsmtp; bh=9oU7m/+N59y4UIzicilnkFO8xw/KIfHOdwGXAKP2J3U=; b=pj+Qrzbzi+EXyQElrTgV2eg6jl+bTwoWKCmw4Qqt+X92of6rUpK3Go8QdGr+0tAcp0NADL6GBQWzZZ236lKRjYbZaDeYhN1Stle+tMbCsXLuvMtNCd4lvuOuLqddest4ErCDDverKmfghtzA1WQr/Z6wqnN7TVJSrgcAQles/v8= Received: from yoda.home (unknown [24.203.50.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 594B05CE82; Mon, 17 Feb 2020 11:00:40 -0500 (EST) (envelope-from nico@fluxnic.net) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTPSA id 83CC62DA01B8; Mon, 17 Feb 2020 11:00:39 -0500 (EST) Date: Mon, 17 Feb 2020 11:00:39 -0500 (EST) From: Nicolas Pitre To: Quentin Perret cc: Matthias Maennich , masahiroy@kernel.org, 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 In-Reply-To: <20200217153023.GA71210@google.com> Message-ID: References: <20200212202140.138092-1-qperret@google.com> <20200212202140.138092-2-qperret@google.com> <20200217152201.GA48466@google.com> <20200217153023.GA71210@google.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Pobox-Relay-ID: A50A65BE-519E-11EA-992F-C28CBED8090B-78420484!pb-smtp1.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Feb 2020, Quentin Perret wrote: > 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). In fact, if you explicitly provide a file that is not there, then this is arguably a good reason to even fail the build. Nicolas