Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5302485ybe; Tue, 10 Sep 2019 01:22:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0rQlSeWhDVcEhPXG1YeSDB5fULIhXLQ9PNgWkJRHmJD9WTcztoq5Tu3ohzZKTwcFuDnyz X-Received: by 2002:a17:906:434f:: with SMTP id z15mr15201255ejm.214.1568103774779; Tue, 10 Sep 2019 01:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568103774; cv=none; d=google.com; s=arc-20160816; b=Aeqo2Zb8jMVUqG8UfnC/lhx34Ebhwgz2HB0KyZUjh96U0WfyH2zuoPXe9VDtr1a3nR K5bjcWDJpYjwGFtDirLQ4FehlIqpPTDvbMFWj8yJpkr7D00UZuvqVfZYhkeAT93qDUX+ 2pQhr4PFSSiRA0Hxuo6onlmisAnPke1j5wW8pYNBDPrHfXGhkncERDy+OwDa5v5INWsz TO8wj8/5/4D/6ixBJWdf3Y54sGD3Ir9WpbTb9tuUVvs9PkF9BJJ+JDQXuqEvifqlPfq+ pOO6tDGzS7v7p4F/xHIVu8mCR2HvOQQ7PFNQq9ZOj+a4t+0c1lUj38ZgMkMunoO8Bztu X6pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=ie1ckEzIvaZxWKhGydYfTZWpoM5k0/RYzlH6fYm+h6U=; b=CcfHYV/raBUFtUwpsRxjDMROPsJHppANFAHNbylIZStDsjyZfG7sg7wj//HpBHGHxI 2qV58T/c65PwbGVE30pigBQIX4uG50TkGH9j1icIewhGXAajuw/bzBEGqae9LPh37WTd r11YAOA6DEK2sIl6Hv8LZ4/MFzpjHSVTqNghe+3triItHs4WzeHwg9c60KBT+AF7A08R ASA0gZnfOtYpjVRY/e3k0+WJGqXC0nk4MVYXACn0FO+JTlG3qE6CfI5m5BEU2bTTPsnW t0IO+u7rfG//th/ofR202ngXHZccuDb+zXGoekQH/pQ6wSVuhAqef2cmtFvIPWsLkzkt OCHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WTvp7T8w; 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 k25si11747078edd.209.2019.09.10.01.22.31; Tue, 10 Sep 2019 01:22:54 -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=@nifty.com header.s=dec2015msa header.b=WTvp7T8w; 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 S1727858AbfIIOfL (ORCPT + 99 others); Mon, 9 Sep 2019 10:35:11 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:56411 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbfIIOfK (ORCPT ); Mon, 9 Sep 2019 10:35:10 -0400 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x89EZ0ch004231; Mon, 9 Sep 2019 23:35:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x89EZ0ch004231 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1568039701; bh=ie1ckEzIvaZxWKhGydYfTZWpoM5k0/RYzlH6fYm+h6U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WTvp7T8wY0zo/yjqYN7kHnxyzlxgb747ZmbG+bGhDiX2HQaSiOB7D72gKdAVY3j/X pfB/cENSvQ3X9Yx29ghy0nn85IyrYSzcCobcsUgNf1yZzptSS1ReznCryW+AY3ziwM ixyE/g9XJyK17ADGC7+/6XKyxmfle+OgIGoUlHmjxzUA9U0Gx8wv43/JOfsqNspZJ7 h4H5HdQsaE6dSbgLptr4qyUlG2Ratkmeeme3/5DwY1HunJ3+7y7YxUGc7V3oPTC2nF niry7M8iqr35K+lwObDoyT9QmZyqZe8mGt5+l00TpyIFi0AnrGWiY6HB/7O/JTPLQW gQ391gUWr3v2Q== X-Nifty-SrcIP: [209.85.217.49] Received: by mail-vs1-f49.google.com with SMTP id q9so8906948vsl.4; Mon, 09 Sep 2019 07:35:00 -0700 (PDT) X-Gm-Message-State: APjAAAVXVeVDJz8bk3kDAc7pBYcGZAVJsGbd/XgFY0vPQ807ydjxmdh7 x/olkNdTINEL6xk1ErclTNsGuSCcwQEdac0xBaA= X-Received: by 2002:a67:f418:: with SMTP id p24mr12470409vsn.215.1568039699729; Mon, 09 Sep 2019 07:34:59 -0700 (PDT) MIME-Version: 1.0 References: <20190909105317.20473-1-yamada.masahiro@socionext.com> In-Reply-To: From: Masahiro Yamada Date: Mon, 9 Sep 2019 23:34:23 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] export.h: remove defined(__KERNEL__) To: Nicolas Pitre Cc: Linux Kbuild mailing list , Arnd Bergmann , Denis Efremov , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nicolas, On Mon, Sep 9, 2019 at 10:48 PM Nicolas Pitre wrote: > > 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. Hmm, I did not see a problem in my quick build test. Do you remember which file was causing the problem? -- Best Regards Masahiro Yamada