All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [deller-parisc:for-next-v5.15 20/32] arch/parisc/kernel/toc.c:61:32: error: no previous prototype for 'toc_intr'
Date: Sun, 31 Oct 2021 23:34:24 +0800	[thread overview]
Message-ID: <202110312316.7TcIjunb-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next-v5.15
head:   bf6c426f36eea1e01ab6ac8db17c0779f69d8c62
commit: 665f05ca9ffb335e8da18436cc93d1258f603d7d [20/32] parisc: add support for TOC (transfer of control)
config: parisc-allyesconfig (attached as .config)
compiler: hppa-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/deller/parisc-linux.git/commit/?id=665f05ca9ffb335e8da18436cc93d1258f603d7d
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc for-next-v5.15
        git checkout 665f05ca9ffb335e8da18436cc93d1258f603d7d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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

All errors (new ones prefixed by >>):

>> arch/parisc/kernel/toc.c:61:32: error: no previous prototype for 'toc_intr' [-Werror=missing-prototypes]
      61 | void notrace __noreturn __cold toc_intr(struct pt_regs *regs)
         |                                ^~~~~~~~
   cc1: all warnings being treated as errors


vim +/toc_intr +61 arch/parisc/kernel/toc.c

    60	
  > 61	void notrace __noreturn __cold toc_intr(struct pt_regs *regs)
    62	{
    63		struct pdc_toc_pim_20 pim_data20;
    64		struct pdc_toc_pim_11 pim_data11;
    65	
    66		nmi_enter();
    67	
    68		if (boot_cpu_data.cpu_type >= pcxu) {
    69			if (pdc_pim_toc20(&pim_data20))
    70				panic("Failed to get PIM data");
    71			toc20_to_pt_regs(regs, &pim_data20);
    72		} else {
    73			if (pdc_pim_toc11(&pim_data11))
    74				panic("Failed to get PIM data");
    75			toc11_to_pt_regs(regs, &pim_data11);
    76		}
    77	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Sven Schnelle <svens@stackframe.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Helge Deller <deller@gmx.de>
Subject: [deller-parisc:for-next-v5.15 20/32] arch/parisc/kernel/toc.c:61:32: error: no previous prototype for 'toc_intr'
Date: Sun, 31 Oct 2021 23:34:24 +0800	[thread overview]
Message-ID: <202110312316.7TcIjunb-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next-v5.15
head:   bf6c426f36eea1e01ab6ac8db17c0779f69d8c62
commit: 665f05ca9ffb335e8da18436cc93d1258f603d7d [20/32] parisc: add support for TOC (transfer of control)
config: parisc-allyesconfig (attached as .config)
compiler: hppa-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/deller/parisc-linux.git/commit/?id=665f05ca9ffb335e8da18436cc93d1258f603d7d
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc for-next-v5.15
        git checkout 665f05ca9ffb335e8da18436cc93d1258f603d7d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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

All errors (new ones prefixed by >>):

>> arch/parisc/kernel/toc.c:61:32: error: no previous prototype for 'toc_intr' [-Werror=missing-prototypes]
      61 | void notrace __noreturn __cold toc_intr(struct pt_regs *regs)
         |                                ^~~~~~~~
   cc1: all warnings being treated as errors


vim +/toc_intr +61 arch/parisc/kernel/toc.c

    60	
  > 61	void notrace __noreturn __cold toc_intr(struct pt_regs *regs)
    62	{
    63		struct pdc_toc_pim_20 pim_data20;
    64		struct pdc_toc_pim_11 pim_data11;
    65	
    66		nmi_enter();
    67	
    68		if (boot_cpu_data.cpu_type >= pcxu) {
    69			if (pdc_pim_toc20(&pim_data20))
    70				panic("Failed to get PIM data");
    71			toc20_to_pt_regs(regs, &pim_data20);
    72		} else {
    73			if (pdc_pim_toc11(&pim_data11))
    74				panic("Failed to get PIM data");
    75			toc11_to_pt_regs(regs, &pim_data11);
    76		}
    77	

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

             reply	other threads:[~2021-10-31 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 15:34 kernel test robot [this message]
2021-10-31 15:34 ` [deller-parisc:for-next-v5.15 20/32] arch/parisc/kernel/toc.c:61:32: error: no previous prototype for 'toc_intr' 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=202110312316.7TcIjunb-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.