public inbox for [email protected]
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <[email protected]>
To: "Chen, Rong A" <[email protected]>
Cc: kernel test robot <[email protected]>,
	[email protected],
	GNU/Weeb Mailing List <[email protected]>,
	[email protected]
Subject: Re: [kbuild-all] Re: [ammarfaizi2-block:paulmck/linux-rcu/fastexp.2022.04.01a 109/158] WARNING: modpost: vmlinux.o(.text+0xbcac06): Section mismatch in reference from the function ieee802154_iface_init() to the variable .init.text:.L0
Date: Wed, 6 Apr 2022 07:44:19 -0700	[thread overview]
Message-ID: <20220406144419.GL4285@paulmck-ThinkPad-P17-Gen-1> (raw)
In-Reply-To: <[email protected]>

On Wed, Apr 06, 2022 at 07:11:27PM +0800, Chen, Rong A wrote:
> 
> 
> On 4/4/2022 2:30 AM, Paul E. McKenney wrote:
> > On Mon, Apr 04, 2022 at 12:20:22AM +0800, kernel test robot wrote:
> > > tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/fastexp.2022.04.01a
> > > head:   d9f3e7d671416fdf5b61f094765754269b652db0
> > > commit: c1468fd1496363a0b2b2cb89e8ec2ba5e1dce9ba [109/158] rcu: Add polled expedited grace-period primitives
> > > config: 	 (https://download.01.org/0day-ci/archive/20220404/[email protected]/config)
> > > compiler: riscv32-linux-gcc (GCC) 11.2.0
> > > reproduce (this is a W=1 build):
> > >          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > >          chmod +x ~/bin/make.cross
> > >          # https://github.com/ammarfaizi2/linux-block/commit/c1468fd1496363a0b2b2cb89e8ec2ba5e1dce9ba
> > >          git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
> > >          git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/fastexp.2022.04.01a
> > >          git checkout c1468fd1496363a0b2b2cb89e8ec2ba5e1dce9ba
> > >          # save the config file to linux build tree
> > >          mkdir build_dir
> > >          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash
> > > 
> > > If you fix the issue, kindly add following tag as appropriate
> > > Reported-by: kernel test robot <[email protected]>
> > > 
> > > All warnings (new ones prefixed by >>, old ones prefixed by <<):
> > > 
> > > > > WARNING: modpost: vmlinux.o(.text+0xbcac06): Section mismatch in reference from the function ieee802154_iface_init() to the variable .init.text:.L0
> > > The function ieee802154_iface_init() references
> > > the variable __init .L0 .
> > > This is often because ieee802154_iface_init lacks a __init
> > > annotation or the annotation of .L0 is wrong.
> > > 
> > > Note: the below error/warnings can be found in parent commit:
> > > << WARNING: modpost: vmlinux.o(.text+0x432e6): Section mismatch in reference from the function dma_get_required_mask() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0xe35ca): Section mismatch in reference from the function mlock_page_drain() to the variable .init.text:.LVL125
> > > << WARNING: modpost: vmlinux.o(.text+0x96a46e): Section mismatch in reference from the function rpmsg_create_ept() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a5b4): Section mismatch in reference from the function rpmsg_destroy_ept() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a5c0): Section mismatch in reference from the function rpmsg_send() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a5d4): Section mismatch in reference from the function rpmsg_sendto() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a5e8): Section mismatch in reference from the function rpmsg_send_offchannel() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a5fc): Section mismatch in reference from the function rpmsg_trysend() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a610): Section mismatch in reference from the function rpmsg_trysendto() to the variable .init.text:.L0
> > > << WARNING: modpost: vmlinux.o(.text+0x96a624): Section mismatch in reference from the function rpmsg_poll() to the variable .init.text:.L0
> > 
> > I freely confess that I have no idea what any of these error messages
> > are trying to tell me.  What is ".init.txt.L0"?  How did my patch affect
> > ieee802154_iface_init() or the register_netdevice_notifier() function
> > that it invokes?  For that matter, how did my patch cause an access to
> > be made to __init data from a non-__init function?
> > 
> > 							Thanx, Paul
> 
> Hi Paul,
> 
> Sorry for the inconvenience, only below warning was triggered by the commit:
> 
> >> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> >>
> >>>> WARNING: modpost: vmlinux.o(.text+0xbcac06): Section mismatch in
> reference from the function ieee802154_iface_init() to the variable
> .init.text:.L0
> 
> the others are for reference only:
> >> Note: the below error/warnings can be found in parent commit
> 
> The problem has existed for some time before your patch, we'll add it to
> ignore list to avoid noise.

Thank you for getting back to me.

Very well, I will ignore subsequent errors that look like this.  ;-)

							Thanx, Paul

      reply	other threads:[~2022-04-06 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03 16:20 [ammarfaizi2-block:paulmck/linux-rcu/fastexp.2022.04.01a 109/158] WARNING: modpost: vmlinux.o(.text+0xbcac06): Section mismatch in reference from the function ieee802154_iface_init() to the variable .init.text:.L0 kernel test robot
2022-04-03 18:30 ` Paul E. McKenney
2022-04-06 11:11   ` [kbuild-all] " Chen, Rong A
2022-04-06 14:44     ` Paul E. McKenney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220406144419.GL4285@paulmck-ThinkPad-P17-Gen-1 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox