From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mark:arm64/ftrace/per-callsite-ops 2/4] arch/sparc/kernel/ioport.c:299:1: error: 'text_section' attribute directive ignored
Date: Fri, 10 Jun 2022 01:14:59 +0800 [thread overview]
Message-ID: <202206100113.Mdyelzgi-lkp@intel.com> (raw)
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
reply other threads:[~2022-06-09 17:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202206100113.Mdyelzgi-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox