Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4541795ybv; Mon, 10 Feb 2020 22:05:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxQXrC19Y6FGk2wCg4sBd5kaaovfcjZKZCcEghOc9BmwT6Rc1ykM6/oqDz+4PlS0t2FYUHv X-Received: by 2002:a9d:5786:: with SMTP id q6mr3838293oth.164.1581401153759; Mon, 10 Feb 2020 22:05:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581401153; cv=none; d=google.com; s=arc-20160816; b=pSI3T+8XuqNp4zEjMRWJ1xWAxepWtExE6H0Hr/GH5HWL3WRyb22ChunkCrzeW+S/bz 2zHQ2nZIQDqQPwcvSEELsJ+C/Vb6F/7IYVgi/mhfRaXImr6MktqtRzG8Lmqm5wJjaMUT QZyQxHBpH400A957axZWpmvsF8Bn1kZ0y1BTjTbVuwOeNO45P3MJRUPOzZTriF/lajIs LOX0LfCmYVy6NG0fEzWCPqBDddOlT4zQiZLCwNHkHAGm2IhtOhv2trFgJOR0UufUBnB6 5TtR8RRAoNyXpiQ+1GVxnY8Ju7CX6M6fqdEiwqncnJyxDXfEDgkD4aFHJ5ocwXu486KV Lt/Q== 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=VF1bXPK5oEmTt3ZiFcaHZFV+yxaXGNeTcRvRNXdxka0=; b=zupnWVVlGzqFpgg80PeZC3fOSudk8iKSbsIYoQKvu6Yf11RF6bMxnZ/SO884w6FDQ+ dm37nnvohftsSKzvSe77N7CHZJTqE+UjAav+GidO3R/AVo8dXpv/FpXBVwPn1puEyRjY wJ7CAuVHPMGSDQzts6WGG6iYMHaJeOftlFNgX8nqZau6nIUHo3kUdrM8LMlAtojrISvr YMBiehlPK1YhucRxVjRM3DWgwY5naFgfphdaPkZdXCSME8yPz7wUSSQkPru6cqNsMVOb mjbEyCD8mWllo/Tp2Fd1iTCLAfUb2U6yX6hiYCEyoz4mh+sAFwbN+25gFwwe7A4p0Hok NZcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KMH574uU; 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 z18si1343811otq.121.2020.02.10.22.05.41; Mon, 10 Feb 2020 22:05:53 -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=KMH574uU; 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 S1727987AbgBKFok (ORCPT + 99 others); Tue, 11 Feb 2020 00:44:40 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45747 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727594AbgBKFoj (ORCPT ); Tue, 11 Feb 2020 00:44:39 -0500 Received: by mail-wr1-f67.google.com with SMTP id g3so9553604wrs.12 for ; Mon, 10 Feb 2020 21:44:38 -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=VF1bXPK5oEmTt3ZiFcaHZFV+yxaXGNeTcRvRNXdxka0=; b=KMH574uU0/our/bWIDk7tjF0CUOpdqEXUyxAO0039Q/ScMEEx/kWVTsxYYA62OIBMJ D16sPI+yXivoWONcUrA3xZdL1rUTPPpeYcz3nbmI9zgy/a73ecyPFyXmZCLaAdcXYB69 i3a0KOmy8IF5CZWW3RTO97fleUVR86S00gILgYTZX8Tf5owMYqqc1uN/yKx5RdUKC0Fe sb9V24tq0qXoUhCWeN/C7meMGS5QYDDdZEvzasbVecYNr5jCa7daRa85QkGFi7cxwFSv 6NmstJd1m3eGbo0YNpZRAAtB8eQtI/59xiKQRLGkXIJKl+7MqDuqQ3uCwYQzRC6W5vIK o3sg== 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=VF1bXPK5oEmTt3ZiFcaHZFV+yxaXGNeTcRvRNXdxka0=; b=BOjNxIFANlX2Y30Bpfw1hOuTu0/BZLLIG2f7g8pQun3UPnyq9leNxXq9cNpr/pa31N 41y1aOn1uM2r3pqcWzC4vk3TEIA1+6oHOShXtspo332zzKyDBmw9SfO5OJ2ACQdl+W6Q OLw3+GSUy+6HTxVueWozm8ZZbqYVfH2mgxHGjPQRZ1C/eOtd7UkSUTvGVz8TZ2Zg5dEL RvK/6tSz0+any+YckGGAqoCkYQDlVRttzGjt5DVEHvcUyTsB3jWoWepfkr4f0UhzL7k2 uIpFflIALpQ9sYtXKufsYxUc1N07sas15beWyLJrrCK6vmrXd7KMtUqmgA5H2lF9LAbJ L+yg== X-Gm-Message-State: APjAAAXFEiBdK8QrcZNQCtsnasNXWOchFrYtCbXbV0SWrx5a6vrHsVNX +MoEivcX9OMpcr+RxkXuCRcmvw== X-Received: by 2002:adf:cd11:: with SMTP id w17mr6669549wrm.66.1581399877026; Mon, 10 Feb 2020 21:44:37 -0800 (PST) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id h10sm2283730wml.18.2020.02.10.21.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 21:44:36 -0800 (PST) Date: Tue, 11 Feb 2020 05:44:33 +0000 From: Quentin Perret To: Masahiro Yamada Cc: Nicolas Pitre , Linux Kernel Mailing List , Linux Kbuild mailing list , Matthias Maennich , "Cc: Android Kernel" , Jessica Yu , Christoph Hellwig Subject: Re: [PATCH v3 1/3] kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS Message-ID: <20200211054433.GB72419@google.com> References: <20200207180755.100561-1-qperret@google.com> <20200207180755.100561-2-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Saturday 08 Feb 2020 at 06:05:02 (+0100), Masahiro Yamada wrote: > On Fri, Feb 7, 2020 at 7:08 PM Quentin Perret wrote: > > diff --git a/scripts/adjust_autoksyms.sh b/scripts/adjust_autoksyms.sh > > index a904bf1f5e67..58335eee4b38 100755 > > --- a/scripts/adjust_autoksyms.sh > > +++ b/scripts/adjust_autoksyms.sh > > @@ -38,6 +38,10 @@ esac > > # We need access to CONFIG_ symbols > > . include/config/auto.conf > > > > +# The symbol whitelist, relative to the source tree > > +eval ksym_wl="${CONFIG_UNUSED_KSYMS_WHITELIST:-/dev/null}" > > What is this 'eval' needed for? > > This worked for me without it. Right, it is there to expand the path in cases where the user sets the option to "~/my_whitelist" for instance. That could most certainly use a comment, though. Thanks, Quentin