[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211130181541.2407bea7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 30 Nov 2021 18:15:41 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: netdev@...r.kernel.org, kernel test robot <lkp@...el.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Finn Thain <fthain@...egraphics.com.au>,
Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>,
linux-xtensa@...ux-xtensa.org,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 2/2 -net] natsemi: xtensa: fix section mismatch warnings
On Mon, 29 Nov 2021 22:39:47 -0800 Randy Dunlap wrote:
> Fix section mismatch warnings in xtsonic. The first one appears to be
> bogus and after fixing the second one, the first one is gone.
>
> WARNING: modpost: vmlinux.o(.text+0x529adc): Section mismatch in reference from the function sonic_get_stats() to the function .init.text:set_reset_devices()
> The function sonic_get_stats() references
> the function __init set_reset_devices().
> This is often because sonic_get_stats lacks a __init
> annotation or the annotation of set_reset_devices is wrong.
>
> WARNING: modpost: vmlinux.o(.text+0x529b3b): Section mismatch in reference from the function xtsonic_probe() to the function .init.text:sonic_probe1()
> The function xtsonic_probe() references
> the function __init sonic_probe1().
> This is often because xtsonic_probe lacks a __init
> annotation or the annotation of sonic_probe1 is wrong.
>
> Fixes: 74f2a5f0ef64 ("xtensa: Add support for the Sonic Ethernet device for the XT2000 board.")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Reported-by: kernel test robot <lkp@...el.com>
Applied this one to net and I'll take Max's patch for dev_addr
to net-next. Thanks!
Powered by blists - more mailing lists