From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable'
Date: Fri, 05 Nov 2021 00:24:55 +0800 [thread overview]
Message-ID: <202111050050.dHsDS2zT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 5 weeks ago
config: arm64-buildonly-randconfig-r006-20211104 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=e5af50a5df571c1d0268b02f924de49b742c990f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e5af50a5df571c1d0268b02f924de49b742c990f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable' [-Wmissing-prototypes]
197 | void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
| ^~~~~~~~~~~~~~~~~~~~
vim +/kasan_hw_tags_enable +197 arch/arm64/kernel/mte.c
196
> 197 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
198 __le32 *updptr, int nr_inst)
199 {
200 BUG_ON(nr_inst != 1); /* Branch -> NOP */
201
202 if (kasan_hw_tags_enabled())
203 *updptr = cpu_to_le32(aarch64_insn_gen_nop());
204 }
205
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35776 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Peter Collingbourne <pcc@google.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Will Deacon <will@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>
Subject: arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable'
Date: Fri, 5 Nov 2021 00:24:55 +0800 [thread overview]
Message-ID: <202111050050.dHsDS2zT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 5 weeks ago
config: arm64-buildonly-randconfig-r006-20211104 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=e5af50a5df571c1d0268b02f924de49b742c990f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e5af50a5df571c1d0268b02f924de49b742c990f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable' [-Wmissing-prototypes]
197 | void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
| ^~~~~~~~~~~~~~~~~~~~
vim +/kasan_hw_tags_enable +197 arch/arm64/kernel/mte.c
196
> 197 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
198 __le32 *updptr, int nr_inst)
199 {
200 BUG_ON(nr_inst != 1); /* Branch -> NOP */
201
202 if (kasan_hw_tags_enabled())
203 *updptr = cpu_to_le32(aarch64_insn_gen_nop());
204 }
205
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35776 bytes --]
next reply other threads:[~2021-11-04 16:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 16:24 kernel test robot [this message]
2021-11-04 16:24 ` arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-02-01 7:21 kernel test robot
2022-02-01 7:21 ` kernel test robot
2022-04-22 20:28 kernel test robot
2022-05-08 0:18 kernel test robot
2022-06-10 1:03 kernel test robot
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=202111050050.dHsDS2zT-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.