public inbox for linux-leds@vger.kernel.org
 help / color / mirror / Atom feed
* [pavel-linux-leds:for-next 17/17] WARNING: modpost: vmlinux.o(.text+0x2492): Section mismatch in reference from the function ret_from_kernel_thread() to the variable .init.text:.L904
@ 2020-07-13  5:29 kernel test robot
  2020-07-13  6:44 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-07-13  5:29 UTC (permalink / raw)
  To: Gustavo A. R. Silva; +Cc: kbuild-all, linux-leds, Pavel Machek

[-- Attachment #1: Type: text/plain, Size: 3128 bytes --]

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
head:   cf1a1a6a7d81d73bcb5568b23572d6fd593add87
commit: cf1a1a6a7d81d73bcb5568b23572d6fd593add87 [17/17] leds: gpio: Use struct_size() in devm_kzalloc()
config: riscv-randconfig-r012-20200712 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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
        git checkout cf1a1a6a7d81d73bcb5568b23572d6fd593add87
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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 >>):

>> WARNING: modpost: vmlinux.o(.text+0x2492): Section mismatch in reference from the function ret_from_kernel_thread() to the variable .init.text:.L904
   The function ret_from_kernel_thread() references
   the variable __init .L904.
   This is often because ret_from_kernel_thread lacks a __init
   annotation or the annotation of .L904 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x7c238): Section mismatch in reference from the function profile_tick() to the variable .init.text:.L0
   The function profile_tick() references
   the variable __init .L0 .
   This is often because profile_tick lacks a __init
   annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0xd475de): Section mismatch in reference from the function radeon_audio_init() to the variable .init.text:.LBE12095
   The function radeon_audio_init() references
   the variable __init .LBE12095.
   This is often because radeon_audio_init lacks a __init
   annotation or the annotation of .LBE12095 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1622c56): Section mismatch in reference from the function netdev_adjacent_change_commit() to the variable .init.text:.L0
   The function netdev_adjacent_change_commit() references
   the variable __init .L0 .
   This is often because netdev_adjacent_change_commit lacks a __init
   annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1622cdc): Section mismatch in reference from the function netdev_adjacent_change_abort() to the variable .init.text:.L0
   The function netdev_adjacent_change_abort() references
   the variable __init .L0 .
   This is often because netdev_adjacent_change_abort lacks a __init
   annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(__ex_table+0x1020): Section mismatch in reference from the (unknown reference) (unknown) to the variable .debug_str:.LASF394
   FATAL: modpost: The relocation at __ex_table+0x1020 references
   section ".debug_str" which is not executable, IOW
   it is not possible for the kernel to fault
   at that address. Something is seriously wrong
   and should be fixed.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24342 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pavel-linux-leds:for-next 17/17] WARNING: modpost: vmlinux.o(.text+0x2492): Section mismatch in reference from the function ret_from_kernel_thread() to the variable .init.text:.L904
  2020-07-13  5:29 [pavel-linux-leds:for-next 17/17] WARNING: modpost: vmlinux.o(.text+0x2492): Section mismatch in reference from the function ret_from_kernel_thread() to the variable .init.text:.L904 kernel test robot
@ 2020-07-13  6:44 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2020-07-13  6:44 UTC (permalink / raw)
  To: kernel test robot; +Cc: Gustavo A. R. Silva, kbuild-all, linux-leds

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

Hi!

> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
> head:   cf1a1a6a7d81d73bcb5568b23572d6fd593add87
> commit: cf1a1a6a7d81d73bcb5568b23572d6fd593add87 [17/17] leds: gpio: Use struct_size() in devm_kzalloc()
> config: riscv-randconfig-r012-20200712 (attached as .config)
> compiler: riscv32-linux-gcc (GCC) 9.3.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
>         git checkout cf1a1a6a7d81d73bcb5568b23572d6fd593add87
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 
> 
> 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 >>):

These look weird.

> >> WARNING: modpost: vmlinux.o(.text+0xd475de): Section mismatch in reference from the function radeon_audio_init() to the variable .init.text:.LBE12095
>    The function radeon_audio_init() references
>    the variable __init .LBE12095.
>    This is often because radeon_audio_init lacks a __init
>    annotation or the annotation of .LBE12095 is wrong.
> --

And in the code we are not touching.

Is the report about just 17/17, or could it be other patch in the
series?

Is it possible that something simply went wrong with testing?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-13  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13  5:29 [pavel-linux-leds:for-next 17/17] WARNING: modpost: vmlinux.o(.text+0x2492): Section mismatch in reference from the function ret_from_kernel_thread() to the variable .init.text:.L904 kernel test robot
2020-07-13  6:44 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox