From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BBC4C4740C for ; Mon, 9 Sep 2019 14:35:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4033120863 for ; Mon, 9 Sep 2019 14:35:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="WTvp7T8w" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727909AbfIIOfL (ORCPT ); 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-Google-Smtp-Source: APXvYqzKgVzgEi677hZsf8E68uLXz+WWSxO1rGtFg+nO06hwGz+6/frtkJsSBBy4oPzb4WQlVf3pJv7GwITJWHKaB+4= 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