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
Attachment:
.config.gz
Description: application/gzip