* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-01-05 3:55 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-01-05 3:55 UTC (permalink / raw)
To: Peter Collingbourne
Cc: llvm, kbuild-all, linux-kernel, Will Deacon, Catalin Marinas
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c9e6606c7fe92b50a02ce51dda82586ebdf99b48
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 3 months ago
config: arm64-randconfig-r025-20220105 (https://download.01.org/0day-ci/archive/20220105/202201051108.401TVotF-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d5b6e30ed3acad794dd0aec400e617daffc6cc3d)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
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 function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-01-05 3:55 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-01-05 3:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2751 bytes --]
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c9e6606c7fe92b50a02ce51dda82586ebdf99b48
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 3 months ago
config: arm64-randconfig-r025-20220105 (https://download.01.org/0day-ci/archive/20220105/202201051108.401TVotF-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d5b6e30ed3acad794dd0aec400e617daffc6cc3d)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
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 function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-06-01 13:37 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-06-01 13:37 UTC (permalink / raw)
To: Peter Collingbourne
Cc: llvm, kbuild-all, linux-kernel, Will Deacon, Catalin Marinas
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 700170bf6b4d773e328fa54ebb70ba444007c702
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 8 months ago
config: arm64-buildonly-randconfig-r001-20220531 (https://download.01.org/0day-ci/archive/20220601/202206012143.S2fcThHk-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
https://01.org/lkp
^ permalink raw reply [flat|nested] 6+ messages in thread
* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-03-11 20:54 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-03-11 20:54 UTC (permalink / raw)
To: Peter Collingbourne
Cc: llvm, kbuild-all, linux-kernel, Will Deacon, Catalin Marinas
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 79b00034e9dcd2b065c1665c8b42f62b6b80a9be
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 5 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220312/202203120429.Fx8bkRdV-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ drivers/gpu/drm/tegra/ drivers/usb/host/ kernel/debug/kdb/
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 function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-02-06 3:22 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-02-06 3:22 UTC (permalink / raw)
To: Peter Collingbourne
Cc: llvm, kbuild-all, linux-kernel, Will Deacon, Catalin Marinas
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 90c9e950c0def5c354b4a6154a2ddda3e5f214ac
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 4 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220206/202202061150.YiFFY3QD-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dee058c670593b999fec19c458dbbd882ad9de56)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ drivers/ata/ drivers/usb/dwc3/
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 function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable'
@ 2022-02-06 3:22 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-02-06 3:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2770 bytes --]
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 90c9e950c0def5c354b4a6154a2ddda3e5f214ac
commit: e5af50a5df571c1d0268b02f924de49b742c990f arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
date: 4 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220206/202202061150.YiFFY3QD-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dee058c670593b999fec19c458dbbd882ad9de56)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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 config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ drivers/ata/ drivers/usb/dwc3/
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 function 'kasan_hw_tags_enable' [-Wmissing-prototypes]
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/mte.c:197:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
^
static
arch/arm64/kernel/mte.c:103:20: warning: unused function '__mte_enable_kernel' [-Wunused-function]
static inline void __mte_enable_kernel(const char *mode, unsigned long tcf)
^
2 warnings generated.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-06-01 13:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 3:55 arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for function 'kasan_hw_tags_enable' kernel test robot
2022-01-05 3:55 ` kernel test robot
2022-02-06 3:22 kernel test robot
2022-02-06 3:22 ` kernel test robot
2022-03-11 20:54 kernel test robot
2022-06-01 13:37 kernel test robot
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.