arch/ia64/kernel/ptrace.c:2053:6: warning: no previous prototype for 'syscall_get_arguments'

From: kernel test robot
Date: Fri Nov 12 2021 - 21:39:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: 7962c2eddbfe7cce879acb06f9b4f205789e57b7 arch: remove unused function syscall_set_arguments()
date: 9 weeks ago
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=7962c2eddbfe7cce879acb06f9b4f205789e57b7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7962c2eddbfe7cce879acb06f9b4f205789e57b7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64

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/ia64/kernel/ptrace.c:1215:1: warning: no previous prototype for 'syscall_trace_enter' [-Wmissing-prototypes]
1215 | syscall_trace_enter (long arg0, long arg1, long arg2, long arg3,
| ^~~~~~~~~~~~~~~~~~~
arch/ia64/kernel/ptrace.c:1236:1: warning: no previous prototype for 'syscall_trace_leave' [-Wmissing-prototypes]
1236 | syscall_trace_leave (long arg0, long arg1, long arg2, long arg3,
| ^~~~~~~~~~~~~~~~~~~
>> arch/ia64/kernel/ptrace.c:2053:6: warning: no previous prototype for 'syscall_get_arguments' [-Wmissing-prototypes]
2053 | void syscall_get_arguments(struct task_struct *task,
| ^~~~~~~~~~~~~~~~~~~~~


vim +/syscall_get_arguments +2053 arch/ia64/kernel/ptrace.c

2052
> 2053 void syscall_get_arguments(struct task_struct *task,

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

Attachment: .config.gz
Description: application/gzip