Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-12 Thread Masahiro Yamada
On Mon, Sep 9, 2019 at 7:53 PM 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__). > >

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Nicolas Pitre
On Tue, 10 Sep 2019, Masahiro Yamada wrote: > On Tue, Sep 10, 2019 at 1:06 AM Nicolas Pitre wrote: > > > > On Mon, 9 Sep 2019, Masahiro Yamada wrote: > > > > > Hi Nicolas, > > > > > > On Mon, Sep 9, 2019 at 10:48 PM Nicolas Pitre wrote: > > > > > > > > On Mon, 9 Sep 2019, Masahiro Yamada wrote:

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Masahiro Yamada
On Tue, Sep 10, 2019 at 1:06 AM Nicolas Pitre wrote: > > On Mon, 9 Sep 2019, Masahiro Yamada wrote: > > > 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

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Nicolas Pitre
On Mon, 9 Sep 2019, Masahiro Yamada wrote: > 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

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Masahiro Yamada
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. > > > >

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Nicolas Pitre
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

[PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Masahiro Yamada
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__). Signed-off-by: Masahiro Yamada --- include/linux/export.h | 2 +- 1 file