Re: [PATCH] w90p910_ether: remove incorrect __init annotation

2018-12-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Dec 2018 23:22:10 +0100 > On Fri, Dec 14, 2018 at 10:23 PM David Miller wrote: >> >> From: Arnd Bergmann >> Date: Mon, 10 Dec 2018 21:45:07 +0100 >> >> > The get_mac_address() function is normally inline, but when it is >> > not, we get a warning that this conf

Re: [PATCH] w90p910_ether: remove incorrect __init annotation

2018-12-14 Thread Arnd Bergmann
On Fri, Dec 14, 2018 at 10:23 PM David Miller wrote: > > From: Arnd Bergmann > Date: Mon, 10 Dec 2018 21:45:07 +0100 > > > The get_mac_address() function is normally inline, but when it is > > not, we get a warning that this configuration is broken: > > > > WARNING: vmlinux.o(.text+0x4aff00): Sec

Re: [PATCH] w90p910_ether: remove incorrect __init annotation

2018-12-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 10 Dec 2018 21:45:07 +0100 > The get_mac_address() function is normally inline, but when it is > not, we get a warning that this configuration is broken: > > WARNING: vmlinux.o(.text+0x4aff00): Section mismatch in reference from the > function w90p910_ether_setup(

[PATCH] w90p910_ether: remove incorrect __init annotation

2018-12-10 Thread Arnd Bergmann
The get_mac_address() function is normally inline, but when it is not, we get a warning that this configuration is broken: WARNING: vmlinux.o(.text+0x4aff00): Section mismatch in reference from the function w90p910_ether_setup() to the function .init.text:get_mac_address() The function w90p910_et