public inbox for [email protected]
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Guo Ren <[email protected]>
Cc: [email protected],
	GNU/Weeb Mailing List <[email protected]>,
	[email protected],
	Palmer Dabbelt <[email protected]>
Subject: [ammarfaizi2-block:palmer/linux/riscv-compat 18/20] arch/riscv/include/asm/signal32.h:10:5: warning: no previous prototype for 'compat_setup_rt_frame'
Date: Wed, 27 Apr 2022 14:28:24 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

tree:   https://github.com/ammarfaizi2/linux-block palmer/linux/riscv-compat
head:   8d05fa26dd28024fc3f915bf06be41ab7c3204ab
commit: 299073d795e482ae6a762105fbc3953ec445badd [18/20] riscv: compat: signal: Add rt_frame implementation
config: riscv-randconfig-r042-20220425 (https://download.01.org/0day-ci/archive/20220427/[email protected]/config)
compiler: riscv64-linux-gcc (GCC) 11.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://github.com/ammarfaizi2/linux-block/commit/299073d795e482ae6a762105fbc3953ec445badd
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-compat
        git checkout 299073d795e482ae6a762105fbc3953ec445badd
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

   In file included from arch/riscv/kernel/signal.c:18:
>> arch/riscv/include/asm/signal32.h:10:5: warning: no previous prototype for 'compat_setup_rt_frame' [-Wmissing-prototypes]
      10 | int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
         |     ^~~~~~~~~~~~~~~~~~~~~
   arch/riscv/kernel/signal.c:316:27: warning: no previous prototype for 'do_notify_resume' [-Wmissing-prototypes]
     316 | asmlinkage __visible void do_notify_resume(struct pt_regs *regs,
         |                           ^~~~~~~~~~~~~~~~


vim +/compat_setup_rt_frame +10 arch/riscv/include/asm/signal32.h

     5	
     6	#if IS_ENABLED(CONFIG_COMPAT)
     7	int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
     8				  struct pt_regs *regs);
     9	#else
  > 10	int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
    11				  struct pt_regs *regs)
    12	{
    13		return -1;
    14	}
    15	#endif
    16	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-04-27  6:28 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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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