[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210171743.VXLRbXUw-lkp@intel.com>
Date: Mon, 17 Oct 2022 17:26:04 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:arm64/ftrace/per-callsite-ops 8/11]
arch/sparc/kernel/pcic.c:841: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: c38c50315b2f4311f78a93848e088ac6c77e6aa5
commit: d83cabf1b8530b598ab39f1b625eb5a553e84e58 [8/11] WIP: arm64: ftrace: use pre-function NOPs
config: sparc-randconfig-r034-20221017
compiler: sparc-linux-gcc (GCC) 12.1.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=d83cabf1b8530b598ab39f1b625eb5a553e84e58
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 d83cabf1b8530b598ab39f1b625eb5a553e84e58
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash arch/sparc/kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arch/sparc/kernel/pcic.c:841:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
841 | subsys_initcall(pcic_init);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/text_section +841 arch/sparc/kernel/pcic.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 840
^1da177e4c3f415 Linus Torvalds 2005-04-16 @841 subsys_initcall(pcic_init);
:::::: The code at line 841 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (117414 bytes)
Powered by blists - more mailing lists