[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210180436.ruWBhXRe-lkp@intel.com>
Date: Tue, 18 Oct 2022 04:23:17 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: <instantiation>:99:2: error: Unable to parse register name $fp
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bbb8ceb5e2421184db9560e9d2cfaf858e1db616
commit: 15f3d81a8c8a564cbc8642cf95c548d02db035a7 MIPS: use simpler access_ok()
date: 8 months ago
config: mips-buildonly-randconfig-r003-20221017
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 mips cross compiling tool for clang build
# apt-get install binutils-mipsel-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15f3d81a8c8a564cbc8642cf95c548d02db035a7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 15f3d81a8c8a564cbc8642cf95c548d02db035a7
# 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=mips SHELL=/bin/bash
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/mips/kernel/signal.c:439:5: warning: no previous prototype for function 'setup_sigcontext' [-Wmissing-prototypes]
int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
^
arch/mips/kernel/signal.c:439:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
^
static
arch/mips/kernel/signal.c:516:5: warning: no previous prototype for function 'restore_sigcontext' [-Wmissing-prototypes]
int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
^
arch/mips/kernel/signal.c:516:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
^
static
arch/mips/kernel/signal.c:637:17: warning: no previous prototype for function 'sys_sigreturn' [-Wmissing-prototypes]
asmlinkage void sys_sigreturn(void)
^
arch/mips/kernel/signal.c:637:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void sys_sigreturn(void)
^
static
arch/mips/kernel/signal.c:674:17: warning: no previous prototype for function 'sys_rt_sigreturn' [-Wmissing-prototypes]
asmlinkage void sys_rt_sigreturn(void)
^
arch/mips/kernel/signal.c:674:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void sys_rt_sigreturn(void)
^
static
arch/mips/kernel/signal.c:904:17: warning: no previous prototype for function 'do_notify_resume' [-Wmissing-prototypes]
asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
^
arch/mips/kernel/signal.c:904:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
^
static
>> <instantiation>:99:2: error: Unable to parse register name $fp
.error "Unable to parse register name $fp"
^
<instantiation>:104:2: note: while in macro instantiation
parse_r __rs, $fp
^
arch/mips/include/asm/msa.h:213:1: note: while in macro instantiation
__BUILD_MSA_CTL_REG(csr, 1)
^
arch/mips/include/asm/msa.h:205:2: note: expanded from macro '__BUILD_MSA_CTL_REG'
_ASM_SET_CTCMSA \
^
arch/mips/include/asm/msa.h:172:2: note: expanded from macro '_ASM_SET_CTCMSA'
_ASM_MACRO_2R(ctcmsa, cd, rs, \
^
arch/mips/include/asm/mipsregs.h:1342:11: note: expanded from macro '_ASM_MACRO_2R'
".endm\n\t"
^
<inline asm>:111:3: note: instantiated into assembly here
ctcmsa $1, $fp
^
5 warnings and 1 error generated.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (144850 bytes)
Powered by blists - more mailing lists