mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: <instantiation>:99:2: error: Unable to parse register name $fp
Date: Thu, 9 Mar 2023 03:59:14 +0800	[thread overview]
Message-ID: <202303090316.McwlaGBM-lkp@intel.com> (raw)

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@intel.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

             reply	other threads:[~2023-03-08 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 19:59 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-11  8:57 kernel test robot
2022-10-17 20:23 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=202303090316.McwlaGBM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®