From: kernel test robot <lkp@intel.com>
To: leesagacious <lizhe@cpu-os.ac.cn>, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, leesagacious <lizhe@cpu-os.ac.cn>
Subject: Re: [PATCH] Modify the parameters that are not used
Date: Sun, 2 Aug 2020 14:59:17 +0800 [thread overview]
Message-ID: <202008021452.hl3qmYCC%lkp@intel.com> (raw)
In-Reply-To: <1596339852-41875-1-git-send-email-lizhe@cpu-os.ac.cn>
[-- Attachment #1: Type: text/plain, Size: 3272 bytes --]
Hi leesagacious,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.8-rc7 next-20200731]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/leesagacious/Modify-the-parameters-that-are-not-used/20200802-115945
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 6ba1b005ffc388c2aeaddae20da29e4810dea298
config: c6x-randconfig-r013-20200802 (attached as .config)
compiler: c6x-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
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 >>):
In file included from include/linux/rcupdate.h:28,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/c6x/kernel/asm-offsets.c:8:
>> include/linux/bottom_half.h:10:74: error: expected ';', ',' or ')' before 'ip'
10 | static __always_inline void __local_bh_disable_ip(unsigned long __unused ip,
| ^~
include/linux/bottom_half.h: In function 'local_bh_disable':
>> include/linux/bottom_half.h:20:2: error: implicit declaration of function '__local_bh_disable_ip'; did you mean 'local_bh_disable'? [-Werror=implicit-function-declaration]
20 | __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET);
| ^~~~~~~~~~~~~~~~~~~~~
| local_bh_disable
arch/c6x/kernel/asm-offsets.c: At top level:
arch/c6x/kernel/asm-offsets.c:14:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
14 | void foo(void)
| ^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:114: arch/c6x/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1175: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +10 include/linux/bottom_half.h
6
7 #ifdef CONFIG_TRACE_IRQFLAGS
8 extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
9 #else
> 10 static __always_inline void __local_bh_disable_ip(unsigned long __unused ip,
11 unsigned int cnt)
12 {
13 preempt_count_add(cnt);
14 barrier();
15 }
16 #endif
17
18 static inline void local_bh_disable(void)
19 {
> 20 __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET);
21 }
22
---
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: 26446 bytes --]
prev parent reply other threads:[~2020-08-02 7:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 3:44 leesagacious
2020-08-02 6:59 ` kernel test robot [this message]
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=202008021452.hl3qmYCC%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhe@cpu-os.ac.cn \
/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
all inboxes | Powered by JetHome®