linux-snps-arc.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org, kbuild-all@lists.01.org
Subject: [arc:topic-zol-remove 44/49] arch/arc/kernel/ptrace.c:303:5: warning: no previous prototype for 'syscall_trace_enter'
Date: Thu, 21 May 2020 13:46:15 +0800	[thread overview]
Message-ID: <202005211313.dYnD43pi%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head:   3138fa6a1832fdb830784a9781e63d739c0fdef7
commit: 3a2e16e5162c3e5ed9b8521d0bfefe96d0462cc9 [44/49] ARC: entry: rework (non-functional)
config: arc-defconfig (attached as .config)
compiler: arc-elf-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
        git checkout 3a2e16e5162c3e5ed9b8521d0bfefe96d0462cc9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> arch/arc/kernel/ptrace.c:303:5: warning: no previous prototype for 'syscall_trace_enter' [-Wmissing-prototypes]
303 | int syscall_trace_enter(struct pt_regs *regs)
|     ^~~~~~~~~~~~~~~~~~~
arch/arc/kernel/ptrace.c:311:17: warning: no previous prototype for 'syscall_trace_exit' [-Wmissing-prototypes]
311 | asmlinkage void syscall_trace_exit(struct pt_regs *regs)
|                 ^~~~~~~~~~~~~~~~~~

vim +/syscall_trace_enter +303 arch/arc/kernel/ptrace.c

   302	
 > 303	int syscall_trace_enter(struct pt_regs *regs)
   304	{
   305		if (tracehook_report_syscall_entry(regs))
   306			return ULONG_MAX;
   307	
   308		return regs->r8;
   309	}
   310	

---
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: 9231 bytes --]

[-- Attachment #3: Type: text/plain, Size: 170 bytes --]

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

                 reply	other threads:[~2020-05-21  5:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202005211313.dYnD43pi%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=vgupta@synopsys.com \
    /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;
as well as URLs for NNTP newsgroup(s).