WARNING: modpost: vmlinux.o(.data+0x2577cc): Section mismatch in reference from the variable sensor_dev_attr_pwm1_auto_point1_pwm to the function .init.text:set_reset_devices()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b253435746d9a4a701b5f09211b9c14d3370d0da
commit: f334f5668bedf7307f6df1d98b14f55902931926 ilog2: force inlining of __ilog2_u32() and __ilog2_u64()
date:   4 weeks ago
config: riscv-randconfig-r015-20220420 (https://download.01.org/0day-ci/archive/20220421/202204211056.HP6rQw0u-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f334f5668bedf7307f6df1d98b14f55902931926
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f334f5668bedf7307f6df1d98b14f55902931926
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.data+0x2577cc): Section mismatch in reference from the variable sensor_dev_attr_pwm1_auto_point1_pwm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_pwm1_auto_point1_pwm references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x25782c): Section mismatch in reference from the variable sensor_dev_attr_pwm1_auto_point2_pwm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_pwm1_auto_point2_pwm references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x25788c): Section mismatch in reference from the variable sensor_dev_attr_pwm1_auto_point3_pwm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_pwm1_auto_point3_pwm references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2578ec): Section mismatch in reference from the variable sensor_dev_attr_pwm1_auto_point4_pwm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_pwm1_auto_point4_pwm references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2a05dc): Section mismatch in reference from the variable dev_attr_active to the function .init.text:set_reset_devices()
The variable dev_attr_active references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2a80b8): Section mismatch in reference from the variable vlan_ioctl_mutex to the function .init.text:loglevel()
The variable vlan_ioctl_mutex references
the function __init loglevel()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2a80c0): Section mismatch in reference from the variable vlan_ioctl_mutex to the function .init.text:set_reset_devices()
The variable vlan_ioctl_mutex references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x24042c): Section mismatch in reference from the variable sensor_dev_attr_fan3_beep to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_fan3_beep references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x240488): Section mismatch in reference from the variable sensor_dev_attr_temp3_max_hyst to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_temp3_max_hyst references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2404cc): Section mismatch in reference from the variable sensor_dev_attr_temp3_beep to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_temp3_beep references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: vmlinux.o(.data+0x2407f8): Section mismatch in reference from the variable sensor_dev_attr_in2_beep to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_in2_beep references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

..

Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x21db7c): Section mismatch in reference from the variable sony_btf_mpx_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x225a30): Section mismatch in reference from the variable trace_event_fields_v4l2_event_class to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x24183c): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:loglevel()
<< WARNING: modpost: vmlinux.o(.data+0x241844): Section mismatch in reference from the variable watchdog_data_mutex to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2447c0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB6_6
<< WARNING: modpost: vmlinux.o(.data+0x2447e0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x244820): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_range()
<< WARNING: modpost: vmlinux.o(.data+0x2449c0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_isolate_range()
<< WARNING: modpost: vmlinux.o(.data+0x244ac0): Section mismatch in reference from the variable w83795_in to the function .meminit.text:memblock_remove_region()
<< WARNING: modpost: vmlinux.o(.data+0x244de0): Section mismatch in reference from the variable w83795_in to the variable .meminit.text:.LBB9_3

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux