[lkml]   [2018]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] lib: Add module to simulate atomic sections for testing {preempt,irqs}off tracers
Hi Joel,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.17-rc6 next-20180517]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All warnings (new ones prefixed by >>):

lib/test_atomic_sections.c: In function 'atomic_sect_exit':
>> lib/test_atomic_sections.c:75:9: warning: 'return' with a value, in function returning void
return 0;
lib/test_atomic_sections.c:73:20: note: declared here
static void __exit atomic_sect_exit(void)

vim +/return +75 lib/test_atomic_sections.c

73 static void __exit atomic_sect_exit(void)
74 {
> 75 return 0;
76 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2018-05-21 02:30    [W:0.102 / U:28.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site