Messages in this thread | | | Date | Fri, 10 Jun 2022 01:14:59 +0800 | From | kernel test robot <> | Subject | [mark:arm64/ftrace/per-callsite-ops 2/4] arch/sparc/kernel/ioport.c:299:1: error: 'text_section' attribute directive ignored |
| |
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: sparc-allnoconfig (https://download.01.org/0day-ci/archive/20220610/202206100113.Mdyelzgi-lkp@intel.com/config) compiler: sparc-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=sparc SHELL=/bin/bash arch/sparc/kernel/ arch/sparc/mm/ drivers/tty/serial/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
>> arch/sparc/kernel/ioport.c:299:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 299 | arch_initcall(sparc_register_ioport); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/setup_32.c:414:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 414 | subsys_initcall(topology_init); | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/time_32.c:327:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 327 | fs_initcall(clock_init); | ^~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/of_device_32.c:421:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 421 | postcore_initcall(scan_of_devices); | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/leon_pmc.c:94:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 94 | late_initcall(leon_pmc_install); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/apc.c:196:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 196 | __initcall(apc_init); | ^~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/kernel/pmc.c:100:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 100 | __initcall(pmc_init); | ^~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/mm/iommu.c:153:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 153 | subsys_initcall(iommu_init); | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> arch/sparc/mm/io-unit.c:93:1: error: 'text_section' attribute directive ignored [-Werror=attributes] 93 | subsys_initcall(iounit_init); | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> drivers/tty/serial/suncore.c:238:1: warning: 'text_section' attribute directive ignored [-Wattributes] 238 | device_initcall(suncore_init); | ^~~~~~~~~~~~~~~
vim +/text_section +299 arch/sparc/kernel/ioport.c
576c352e89e57c David S. Miller 2006-06-23 298 f8e4d32cb5153a David S. Miller 2008-08-27 @299 arch_initcall(sparc_register_ioport); f8e4d32cb5153a David S. Miller 2008-08-27 300
:::::: The code at line 299 was first introduced by commit :::::: f8e4d32cb5153a9d6a8e8864e357dad1349f3b85 sparc: Kill sbus_arch_preinit().
:::::: TO: David S. Miller <davem@davemloft.net> :::::: CC: David S. Miller <davem@davemloft.net>
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |