Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5956567ybe; Tue, 10 Sep 2019 11:18:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzntv501tNcHySJMsLuIUXxqWkiJoUkVfpsA2YiiQlpSLGyff8n+aHGMJgz7MfLFxXRvNB2 X-Received: by 2002:a17:906:aed8:: with SMTP id me24mr26349239ejb.217.1568139504590; Tue, 10 Sep 2019 11:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568139504; cv=none; d=google.com; s=arc-20160816; b=F7u1bT7BK7gM5z4TSb+sGVRw7P9bsXWhwYpQqMak43+VRtnIVYL5RdmOYhAwxAJ032 jLCw1TpoioYwiYLDf7GeYJDxO1rh7vSDpF7Kot85dk8xRWZQFm8FkXQqTYc6ptcv4b4u YDA1l996huVwURZk6sSW3l9xxiC9LliInj8aktVU6djilwWv+bkYXd4MONPjsR8Wn8DP 32+iPm7PaD2fbq3f7H2xlSmwVN+UUpIK9EN0T6meqFbpsJvb9DabGn/4nqO2/A7zco6F QmAJo1GZsyP8KZb4vqneqWgCicpP2vQZMrPRczuD1UazXz2gbbDCEE1wvGOVG0UYmKor 09bg== 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=YbPsHwbCSJUQrnULKqF8hP1hs8khl8cU5NXAYH1f4rI=; b=PoI7xyA/vNWGO9X4Et3l9udoT6xxDiGe7bHjNh+8FdgkTHrIVp+nd18TZ5UgjuMq24 HzB1scqu4oUcLLlRtDIjcfde3k6CZ8flfxVcljmoQ7JHNbjPvfHQn4bZMcUWjfHrzzrJ S7DqnbeDjc7Q2+mmuRUPCt2yXtgOm8J5xpnOF5BZMUIqKrXwZUANrfoYEm+x0LckkJzN ia6nwIQ1QalUPRuC3NrQgJSWl6EsTpov+jd3cZQf1XVg1QEELPACO2tPKUtla12IcX51 d1W5cs1+LqJ9/edxvIrOiJ+EHOFMWXmJBWBIAplT8GOylIMPArNVup7MW/krP9CnQSGr 5B6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="HfBSz/IN"; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=TGYs9VDY; 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 h17si8229383edq.86.2019.09.10.11.18.00; Tue, 10 Sep 2019 11:18:24 -0700 (PDT) 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="HfBSz/IN"; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=TGYs9VDY; 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 S1731103AbfIINsU (ORCPT + 99 others); Mon, 9 Sep 2019 09:48:20 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:64220 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727854AbfIINsU (ORCPT ); Mon, 9 Sep 2019 09:48:20 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id D6F832823C; Mon, 9 Sep 2019 09:48:18 -0400 (EDT) (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=PPL3tsPzTCjx0UJ55+KB4byy/08=; b=HfBSz/ INF8pkRHwV3efZ8mB9+b1v1XCNa26Er8EBT9zJyIhfppOGw9dHvu9yjMrql92Zl3 ZL5O/PS1Yf32NRitygbaoT9YENTjdr8yJACbmJCFTfcQ3mDb1bCy6YKVCE2ALv9K 5Xlhljdon/UpZeDhRYIpRd8t9KHiTy1vcDGBU= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CF89F2823B; Mon, 9 Sep 2019 09:48:18 -0400 (EDT) (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=23ZJLxU481DjocaHI4wqPJqunWt7SkjVe1vkmCDbANA=; b=TGYs9VDY3vZ1PfWtkq8dDLtHwpDJB/QsgdSsumomNVqSekQX8XDIKO5KKKXYTuQtNi9w9hji2uhHMF/ky9Teg5O8QdIamZ1T5pYyBnAi8tAjU1wxbRVMOBBPqSROZDZYvhCOuVEfhGKVUVxROjOjlq77/00Rhdwgb+BZZLoAvQM= 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-smtp2.pobox.com (Postfix) with ESMTPSA id 1243B2823A; Mon, 9 Sep 2019 09:48:18 -0400 (EDT) (envelope-from nico@fluxnic.net) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTPSA id 37A812DA01B6; Mon, 9 Sep 2019 09:48:17 -0400 (EDT) Date: Mon, 9 Sep 2019 09:48:17 -0400 (EDT) From: Nicolas Pitre To: Masahiro Yamada cc: linux-kbuild@vger.kernel.org, Arnd Bergmann , Denis Efremov , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] export.h: remove defined(__KERNEL__) In-Reply-To: <20190909105317.20473-1-yamada.masahiro@socionext.com> Message-ID: References: <20190909105317.20473-1-yamada.masahiro@socionext.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: 7A8F552A-D308-11E9-80F7-D1361DBA3BAF-78420484!pb-smtp2.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Sep 2019, Masahiro Yamada wrote: > This line was touched by commit f235541699bc ("export.h: allow for > per-symbol configurable EXPORT_SYMBOL()"), but the commit log did > not explain why. > > CONFIG_TRIM_UNUSED_KSYMS works for me without defined(__KERNEL__). I'm pretty sure it was needed back then so not to interfere with users of this file. My fault for not documenting it. Nicolas