[mark:arm64/ftrace/per-callsite-ops 2/4] drivers/parisc/eisa_eeprom.c:101:1: warning: 'text_section' attribute directive ignored

From: kernel test robot
Date: Mon Jun 06 2022 - 17:07:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/ftrace/per-callsite-ops
head: 7f0d1ffaab77795e4ca97db4a901cc347c850ff7
commit: efc001292934b744fa4c8147668fa4bd0ee909bf [2/4] WIP: incomplete alignment hacks
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20220607/202206070415.5WlkjwGl-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 11.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
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=efc001292934b744fa4c8147668fa4bd0ee909bf
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/ftrace/per-callsite-ops
git checkout efc001292934b744fa4c8147668fa4bd0ee909bf
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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

>> drivers/parisc/eisa_eeprom.c:101:1: warning: 'text_section' attribute directive ignored [-Wattributes]
101 | module_init(eisa_eeprom_init);
| ^~~~~~~~~~~
--
>> drivers/parisc/led.c:145:1: warning: 'text_section' attribute directive ignored [-Wattributes]
145 | device_initcall(start_task);
| ^~~~~~~~~~~~~~~
drivers/parisc/led.c:776:1: warning: 'text_section' attribute directive ignored [-Wattributes]
776 | module_init(led_create_procfs)
| ^~~~~~~~~~~
--
drivers/parisc/pdc_stable.c: In function 'pdc_stable_init':
drivers/parisc/pdc_stable.c:1029:21: warning: variable 'error' set but not used [-Wunused-but-set-variable]
1029 | int rc = 0, error = 0;
| ^~~~~
drivers/parisc/pdc_stable.c: At top level:
>> drivers/parisc/pdc_stable.c:1093:1: warning: 'text_section' attribute directive ignored [-Wattributes]
1093 | module_init(pdc_stable_init);
| ^~~~~~~~~~~
--
>> drivers/parisc/power.c:249:1: warning: 'text_section' attribute directive ignored [-Wattributes]
249 | arch_initcall(power_init);
| ^~~~~~~~~~~~~
--
>> kernel/time/sched_clock.c:296:1: warning: 'text_section' attribute directive ignored [-Wattributes]
296 | device_initcall(sched_clock_syscore_init);
| ^~~~~~~~~~~~~~~
--
>> drivers/video/console/sticon.c:407:1: warning: 'text_section' attribute directive ignored [-Wattributes]
407 | module_init(sticonsole_init);
| ^~~~~~~~~~~
--
>> drivers/video/logo/logo.c:38:1: warning: 'text_section' attribute directive ignored [-Wattributes]
38 | late_initcall_sync(fb_logo_late_init);
| ^~~~~~~~~~~~~~~~~~
--
net/socket.c: In function '__sys_getsockopt':
net/socket.c:2285:13: warning: variable 'max_optlen' set but not used [-Wunused-but-set-variable]
2285 | int max_optlen;
| ^~~~~~~~~~
net/socket.c: At top level:
>> net/socket.c:3219:1: warning: 'text_section' attribute directive ignored [-Wattributes]
3219 | core_initcall(sock_init); /* early initcall */
| ^~~~~~~~~~~~~
--
>> net/core/sock.c:3690:1: warning: 'text_section' attribute directive ignored [-Wattributes]
3690 | core_initcall(net_inuse_init);
| ^~~~~~~~~~~~~
net/core/sock.c:4003:1: warning: 'text_section' attribute directive ignored [-Wattributes]
4003 | subsys_initcall(proto_init);
| ^~~~~~~~~~~~~~~
--
>> net/core/net_namespace.c:378:1: warning: 'text_section' attribute directive ignored [-Wattributes]
378 | core_initcall(net_defaults_init);
| ^~~~~~~~~~~~~
--
>> net/core/flow_dissector.c:1891:1: warning: 'text_section' attribute directive ignored [-Wattributes]
1891 | core_initcall(init_default_flow_dissectors);
| ^~~~~~~~~~~~~
..


vim +/text_section +101 drivers/parisc/eisa_eeprom.c

^1da177e4c3f41 Linus Torvalds 2005-04-16 100
^1da177e4c3f41 Linus Torvalds 2005-04-16 @101 module_init(eisa_eeprom_init);

:::::: The code at line 101 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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