Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Greg Kroah-Hartman
On Wed, Jan 16, 2019 at 06:19:37AM -0700, Nathan Chancellor wrote: > On Wed, Jan 16, 2019 at 09:46:58AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > > > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > > > On Tue, J

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Nathan Chancellor
On Wed, Jan 16, 2019 at 09:46:58AM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > > > When CONF

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Greg Kroah-Hartman
On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > > When CONFIG_NO_AUTO_INLINE was present in linux-next (which added > > > '-fno-inline-

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-15 Thread Nathan Chancellor
On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > When CONFIG_NO_AUTO_INLINE was present in linux-next (which added > > '-fno-inline-functions' to KBUILD_CFLAGS), an allyesconfig build with > > Clang failed a

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-15 Thread Greg Kroah-Hartman
On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > When CONFIG_NO_AUTO_INLINE was present in linux-next (which added > '-fno-inline-functions' to KBUILD_CFLAGS), an allyesconfig build with > Clang failed at the modpost stage: > > ERROR: "is_broadcast_mac_addr" [drivers/staging/rt

[PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-15 Thread Nathan Chancellor
When CONFIG_NO_AUTO_INLINE was present in linux-next (which added '-fno-inline-functions' to KBUILD_CFLAGS), an allyesconfig build with Clang failed at the modpost stage: ERROR: "is_broadcast_mac_addr" [drivers/staging/rtl8723bs/r8723bs.ko] undefined! ERROR: "is_zero_mac_addr" [drivers/staging/rtl