[mark-rutland:arm64/entry/further-rework 3/6] arch/arm64/kernel/entry-common.c:203:17: warning: no previous prototype for 'prepare_el0t_return_from_fork'

From: kernel test robot
Date: Wed Jul 07 2021 - 17:50:25 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/entry/further-rework
head: 0b26c84bfdad0505d4c64c47af300e988990cc03
commit: 7384b6c882f5c127950555c9fb64cada519f0ac3 [3/6] arm64: entry: add hooks for entry/exit work
config: arm64-randconfig-r002-20210707 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/mark/linux.git/commit/?id=7384b6c882f5c127950555c9fb64cada519f0ac3
git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark-rutland arm64/entry/further-rework
git checkout 7384b6c882f5c127950555c9fb64cada519f0ac3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> arch/arm64/kernel/entry-common.c:203:17: warning: no previous prototype for 'prepare_el0t_return_from_fork' [-Wmissing-prototypes]
203 | asmlinkage void prepare_el0t_return_from_fork(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/prepare_el0t_return_from_fork +203 arch/arm64/kernel/entry-common.c

202
> 203 asmlinkage void prepare_el0t_return_from_fork(struct pt_regs *regs)
204 {
205 __prepare_el0t_return(regs);
206 }
207

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip