From: kernel test robot <lkp at intel.com>
To: devel@acpica.org
Subject: [Devel] [rafael-pm:bleeding-edge 7/20] WARNING: modpost: vmlinux.o(.exit.text+0xe120): Section mismatch in reference from the function hsr_netlink_exit() to the variable .init.text:.L0
Date: Sun, 24 Apr 2022 02:32:14 +0800 [thread overview]
Message-ID: <202204240259.PyW8hsJz-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 9682 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: f23bedef4354b1e8a69a25d8c9c1201e6d8e8762
commit: 989108f9dfffcaebab87d8b37aa7d4d9d10d2745 [7/20] Merge branch 'devprop' into linux-next
config: riscv-buildonly-randconfig-r002-20220421 (https://download.01.org/0day-ci/archive/20220424/202204240259.PyW8hsJz-lkp(a)intel.com/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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=989108f9dfffcaebab87d8b37aa7d4d9d10d2745
git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags rafael-pm bleeding-edge
git checkout 989108f9dfffcaebab87d8b37aa7d4d9d10d2745
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.exit.text+0xe120): Section mismatch in reference from the function hsr_netlink_exit() to the variable .init.text:.L0
The function __exit hsr_netlink_exit() references
a variable __init .L0 .
This is often seen when error handling in the exit function
uses functionality in the init path.
The fix is often to remove the __init annotation of
.L0 so it may be used outside an init section.
--
>> WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .rodata:_entry.30
FATAL: modpost: extable_entry size hasn't been discovered!
--
>> WARNING: modpost: vmlinux.o(.text+0x1697378): Section mismatch in reference from the function btintel_send_intel_reset() to the variable .exit.text:.L0
The function btintel_send_intel_reset() references a variable in an exit section.
Often the variable .L0 has valid usage outside the exit section
and the fix is to remove the __exit annotation of .L0 .
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf6234): Section mismatch in reference from the function sctp_sched_ops_register() to the variable .init.text:.L0
The function sctp_sched_ops_register() references
the variable __init .L0 .
This is often because sctp_sched_ops_register lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf627c): Section mismatch in reference from the function sctp_sched_set_sched() to the variable .init.text:.L0
The function sctp_sched_set_sched() references
the variable __init .L0 .
This is often because sctp_sched_set_sched lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf640c): Section mismatch in reference from the function sctp_sched_get_sched() to the variable .init.text:.L0
The function sctp_sched_get_sched() references
the variable __init .L0 .
This is often because sctp_sched_get_sched 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+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: kbuild-all@lists.01.org, linux-acpi@vger.kernel.org,
devel@acpica.org, linux-pm@vger.kernel.org
Subject: [rafael-pm:bleeding-edge 7/20] WARNING: modpost: vmlinux.o(.exit.text+0xe120): Section mismatch in reference from the function hsr_netlink_exit() to the variable .init.text:.L0
Date: Sun, 24 Apr 2022 02:32:14 +0800 [thread overview]
Message-ID: <202204240259.PyW8hsJz-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: f23bedef4354b1e8a69a25d8c9c1201e6d8e8762
commit: 989108f9dfffcaebab87d8b37aa7d4d9d10d2745 [7/20] Merge branch 'devprop' into linux-next
config: riscv-buildonly-randconfig-r002-20220421 (https://download.01.org/0day-ci/archive/20220424/202204240259.PyW8hsJz-lkp@intel.com/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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=989108f9dfffcaebab87d8b37aa7d4d9d10d2745
git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags rafael-pm bleeding-edge
git checkout 989108f9dfffcaebab87d8b37aa7d4d9d10d2745
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.exit.text+0xe120): Section mismatch in reference from the function hsr_netlink_exit() to the variable .init.text:.L0
The function __exit hsr_netlink_exit() references
a variable __init .L0 .
This is often seen when error handling in the exit function
uses functionality in the init path.
The fix is often to remove the __init annotation of
.L0 so it may be used outside an init section.
--
>> WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .rodata:_entry.30
FATAL: modpost: extable_entry size hasn't been discovered!
--
>> WARNING: modpost: vmlinux.o(.text+0x1697378): Section mismatch in reference from the function btintel_send_intel_reset() to the variable .exit.text:.L0
The function btintel_send_intel_reset() references a variable in an exit section.
Often the variable .L0 has valid usage outside the exit section
and the fix is to remove the __exit annotation of .L0 .
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf6234): Section mismatch in reference from the function sctp_sched_ops_register() to the variable .init.text:.L0
The function sctp_sched_ops_register() references
the variable __init .L0 .
This is often because sctp_sched_ops_register lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf627c): Section mismatch in reference from the function sctp_sched_set_sched() to the variable .init.text:.L0
The function sctp_sched_set_sched() references
the variable __init .L0 .
This is often because sctp_sched_set_sched lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1bf640c): Section mismatch in reference from the function sctp_sched_get_sched() to the variable .init.text:.L0
The function sctp_sched_get_sched() references
the variable __init .L0 .
This is often because sctp_sched_get_sched 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+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
<< WARNING: modpost: vmlinux.o(.text+0x66d448): Section mismatch in reference from the function nilfs_segbuf_free() to the variable .exit.text:.LVL12
<< WARNING: modpost: vmlinux.o(.text+0x15a8b7c): Section mismatch in reference from the function bch_keybuf_init() to the variable .init.text:.LVL52
<< WARNING: modpost: vmlinux.o(.text+0x1aa0df0): Section mismatch in reference from the function ping_seq_stop() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2298): Section mismatch in reference from the function ping_common_sendmsg() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aa2e08): Section mismatch in reference from the function ping_proc_exit() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1aeca5c): Section mismatch in reference from the function x25_limit_facilities() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x1260): Section mismatch in reference from the variable .L0 to the variable .debug_loc:.LLST136
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next reply other threads:[~2022-04-23 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-23 18:32 kernel test robot [this message]
2022-04-23 18:32 ` [rafael-pm:bleeding-edge 7/20] WARNING: modpost: vmlinux.o(.exit.text+0xe120): Section mismatch in reference from the function hsr_netlink_exit() to the variable .init.text:.L0 kernel test robot
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=202204240259.PyW8hsJz-lkp@intel.com \
--to=devel@acpica.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.