From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [avpatel:riscv_sbi_hsm_suspend_v1 9/10] drivers/cpuidle/cpuidle-sbi.c:40:6: warning: no previous prototype for 'sbi_set_domain_state'
Date: Fri, 19 Feb 2021 00:05:25 +0800 [thread overview]
Message-ID: <202102190020.UsOKX4XA-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]
tree: https://github.com/avpatel/linux.git riscv_sbi_hsm_suspend_v1
head: 5549ca1c38400d911243f756c4a2a2fec56cef6e
commit: 400edab10d72cefa47812c9ff46f182be38cb2ee [9/10] cpuidle: Add RISC-V SBI CPU idle driver
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-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
# https://github.com/avpatel/linux/commit/400edab10d72cefa47812c9ff46f182be38cb2ee
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_sbi_hsm_suspend_v1
git checkout 400edab10d72cefa47812c9ff46f182be38cb2ee
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
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 >>):
>> drivers/cpuidle/cpuidle-sbi.c:40:6: warning: no previous prototype for 'sbi_set_domain_state' [-Wmissing-prototypes]
40 | void sbi_set_domain_state(u32 state)
| ^~~~~~~~~~~~~~~~~~~~
vim +/sbi_set_domain_state +40 drivers/cpuidle/cpuidle-sbi.c
39
> 40 void sbi_set_domain_state(u32 state)
41 {
42 __this_cpu_write(domain_state, state);
43 }
44
---
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: 68784 bytes --]
reply other threads:[~2021-02-18 16:05 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=202102190020.UsOKX4XA-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.