[lkml]   [2020]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Modify the parameters that are not used
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]

base: 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 -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 <>

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/ 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

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
18 static inline void local_bh_disable(void)
19 {
> 20 __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET);
21 }

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-08-02 09:12    [W:0.031 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site