Hi Wei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc5 next-20181207] [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/Wei-Yang/mm-pageblock-make-sure-pageblock-won-t-exceed-mem_sectioin/20181207-030601 config: powerpc-allmodconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: 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 GCC_VERSION=7.2.0 make.cross ARCH=powerpc All warnings (new ones prefixed by >>): In file included from include/linux/gfp.h:6:0, from include/linux/xarray.h:14, from include/linux/radix-tree.h:31, from include/linux/fs.h:15, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:16: >> include/linux/mmzone.h:1088:6: warning: "pageblock_order" is not defined, evaluates to 0 [-Wundef] #if (pageblock_order + PAGE_SHIFT) > SECTION_SIZE_BITS ^~~~~~~~~~~~~~~ -- In file included from include/linux/gfp.h:6:0, from include/linux/mm.h:10, from mm//swap.c:16: >> include/linux/mmzone.h:1088:6: warning: "pageblock_order" is not defined, evaluates to 0 [-Wundef] #if (pageblock_order + PAGE_SHIFT) > SECTION_SIZE_BITS ^~~~~~~~~~~~~~~ In file included from include/linux/gfp.h:6:0, from include/linux/mm.h:10, from mm//swap.c:16: >> include/linux/mmzone.h:1088:6: warning: "pageblock_order" is not defined, evaluates to 0 [-Wundef] #if (pageblock_order + PAGE_SHIFT) > SECTION_SIZE_BITS ^~~~~~~~~~~~~~~ vim +/pageblock_order +1088 include/linux/mmzone.h 1087 > 1088 #if (pageblock_order + PAGE_SHIFT) > SECTION_SIZE_BITS 1089 #error Allocator pageblock_order exceeds SECTION_SIZE 1090 #endif 1091 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip