All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/ia64/kernel/ptrace.c:2053:6: warning: no previous prototype for 'syscall_get_arguments'
Date: Sat, 13 Nov 2021 10:38:37 +0800	[thread overview]
Message-ID: <202111131028.3aMfUMQ3-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

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

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19983 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Peter Collingbourne <pcc@google.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Arnd Bergmann <arnd@arndb.de>
Subject: arch/ia64/kernel/ptrace.c:2053:6: warning: no previous prototype for 'syscall_get_arguments'
Date: Sat, 13 Nov 2021 10:38:37 +0800	[thread overview]
Message-ID: <202111131028.3aMfUMQ3-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2042 bytes --]

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

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19983 bytes --]

             reply	other threads:[~2021-11-13  2:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13  2:38 kernel test robot [this message]
2021-11-13  2:38 ` arch/ia64/kernel/ptrace.c:2053:6: warning: no previous prototype for 'syscall_get_arguments' 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=202111131028.3aMfUMQ3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.