All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [avpatel:riscv_kvm_v10 4/31] arch/riscv/kernel/setup.c:78:2: error: implicit declaration of function 'sbi_init'; did you mean 'smp_init'?
Date: Fri, 20 Dec 2019 19:45:45 +0800	[thread overview]
Message-ID: <201912201943.4oUpiEzD%lkp@intel.com> (raw)

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

tree:   https://github.com/avpatel/linux.git riscv_kvm_v10
head:   be7527671175ed21d9f0df632a0e224a9a96ce04
commit: c8f8c140b8883ec607403f4904c2774315226943 [4/31] RISC-V: Add basic support for SBI v0.2
config: riscv-allnoconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c8f8c140b8883ec607403f4904c2774315226943
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=riscv 

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

All errors (new ones prefixed by >>):

   arch/riscv/kernel/setup.c: In function 'setup_arch':
>> arch/riscv/kernel/setup.c:78:2: error: implicit declaration of function 'sbi_init'; did you mean 'smp_init'? [-Werror=implicit-function-declaration]
     sbi_init();
     ^~~~~~~~
     smp_init
   cc1: some warnings being treated as errors

vim +78 arch/riscv/kernel/setup.c

    77	
  > 78		sbi_init();
    79	#ifdef CONFIG_SMP
    80		setup_smp();
    81	#endif
    82	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

             reply	other threads:[~2019-12-20 11:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 11:45 kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-30  1:58 [avpatel:riscv_kvm_v10 4/31] arch/riscv/kernel/setup.c:78:2: error: implicit declaration of function 'sbi_init'; did you mean 'smp_init'? kbuild 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=201912201943.4oUpiEzD%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.