lkml.org 
[lkml]   [2017]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [v2] mm: make allocation counters per-order
Hi Roman,

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

url: https://github.com/0day-ci/linux/commits/Roman-Gushchin/mm-make-allocation-counters-per-order/20170716-213429
base: git://git.cmpxchg.org/linux-mmotm.git master
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=s390

All warnings (new ones prefixed by >>):

>> arch/s390//appldata/appldata_mem.c:70:15: warning: return type defaults to 'int' [-Wreturn-type]
static inline sum_pgalloc_events(u64 *pgalloc, unsigned long *ev)
^~~~~~~~~~~~~~~~~~
arch/s390//appldata/appldata_mem.c: In function 'sum_pgalloc_events':
>> arch/s390//appldata/appldata_mem.c:78:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^

vim +/int +70 arch/s390//appldata/appldata_mem.c

68
69 #ifdef CONFIG_PER_ORDER_ALLOC_COUNTERS
> 70 static inline sum_pgalloc_events(u64 *pgalloc, unsigned long *ev)
71 {
72 int order;
73
74 for (order = 1; order < MAX_ORDER; ++order) {
75 pgalloc += ev[PGALLOC_NORMAL + order * MAX_NR_ZONES] << order;
76 pgalloc += ev[PGALLOC_DMA + order * MAX_NR_ZONES] << order;
77 }
> 78 }
79 #else
80 static inline sum_pgalloc_events(u64 *pgalloc, unsigned long *ev)
81 {
82 }
83 #endif
84

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-07-16 15:56    [W:0.192 / U:2.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site