[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202303090316.McwlaGBM-lkp@intel.com>
Date: Thu, 9 Mar 2023 03:59:14 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: <instantiation>:99:2: error: Unable to parse register name $fp
Hi Arnd,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 63355b9884b3d1677de6bd1517cd2b8a9bf53978
commit: 15f3d81a8c8a564cbc8642cf95c548d02db035a7 MIPS: use simpler access_ok()
date: 1 year ago
config: mips-randconfig-c004-20230308 (https://download.01.org/0day-ci/archive/20230309/202303090316.McwlaGBM-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303090316.McwlaGBM-lkp@intel.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://github.com/intel/lkp-tests
Powered by blists - more mailing lists