tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/4.14 head: 8cae324ce285477739d7eb912ec1497ac435df1e commit: 4fb429e118d349296bfc625722e2611285bfc62b [38/39] linux/const.h: move UL() macro to include/linux/const.h config: m68k-allmodconfig compiler: m68k-linux-gcc (GCC) 7.5.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/4fb429e118d349296bfc625722e2611285bfc62b git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/4.14 git checkout 4fb429e118d349296bfc625722e2611285bfc62b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from arch/m68k/include/asm/io_mm.h:27:0, from arch/m68k/include/asm/io.h:5, from include/linux/bio.h:28, from include/linux/writeback.h:206, from include/linux/memcontrol.h:31, from include/linux/swap.h:9, from arch/m68k/mm/init.c:15: arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsb': arch/m68k/include/asm/raw_io.h:97:7: warning: variable '__w' set but not used [-Wunused-but-set-variable] ({u8 __w, __v = (b); u32 _addr = ((u32) (addr)); \ ^ arch/m68k/include/asm/raw_io.h:413:3: note: in expansion of macro 'rom_out_8' rom_out_8(port, *buf++); ^~~~~~~~~ arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw': arch/m68k/include/asm/raw_io.h:100:8: warning: variable '__w' set but not used [-Wunused-but-set-variable] ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ ^ arch/m68k/include/asm/raw_io.h:431:3: note: in expansion of macro 'rom_out_be16' rom_out_be16(port, *buf++); ^~~~~~~~~~~~ arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw_swapw': arch/m68k/include/asm/raw_io.h:104:8: warning: variable '__w' set but not used [-Wunused-but-set-variable] ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ ^ arch/m68k/include/asm/raw_io.h:449:3: note: in expansion of macro 'rom_out_le16' rom_out_le16(port, *buf++); ^~~~~~~~~~~~ arch/m68k/mm/init.c: In function 'print_memmap': >> arch/m68k/mm/init.c:125:0: warning: "UL" redefined #define UL(x) ((unsigned long) (x)) In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from arch/m68k/mm/init.c:11: include/linux/const.h:6:0: note: this is the location of the previous definition #define UL(x) (_UL(x)) >> arch/m68k/mm/init.c:125:0: warning: "UL" redefined #define UL(x) ((unsigned long) (x)) In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from arch/m68k/mm/init.c:11: include/linux/const.h:6:0: note: this is the location of the previous definition #define UL(x) (_UL(x)) vim +/UL +125 arch/m68k/mm/init.c dd1cb3a7c43508 Greg Ungerer 2012-10-24 122 dd1cb3a7c43508 Greg Ungerer 2012-10-24 123 void __init print_memmap(void) dd1cb3a7c43508 Greg Ungerer 2012-10-24 124 { dd1cb3a7c43508 Greg Ungerer 2012-10-24 @125 #define UL(x) ((unsigned long) (x)) dd1cb3a7c43508 Greg Ungerer 2012-10-24 126 #define MLK(b, t) UL(b), UL(t), (UL(t) - UL(b)) >> 10 dd1cb3a7c43508 Greg Ungerer 2012-10-24 127 #define MLM(b, t) UL(b), UL(t), (UL(t) - UL(b)) >> 20 dd1cb3a7c43508 Greg Ungerer 2012-10-24 128 #define MLK_ROUNDUP(b, t) b, t, DIV_ROUND_UP(((t) - (b)), 1024) dd1cb3a7c43508 Greg Ungerer 2012-10-24 129 dd1cb3a7c43508 Greg Ungerer 2012-10-24 130 pr_notice("Virtual kernel memory layout:\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 131 " vector : 0x%08lx - 0x%08lx (%4ld KiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 132 " kmap : 0x%08lx - 0x%08lx (%4ld MiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 133 " vmalloc : 0x%08lx - 0x%08lx (%4ld MiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 134 " lowmem : 0x%08lx - 0x%08lx (%4ld MiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 135 " .init : 0x%p" " - 0x%p" " (%4d KiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 136 " .text : 0x%p" " - 0x%p" " (%4d KiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 137 " .data : 0x%p" " - 0x%p" " (%4d KiB)\n" dd1cb3a7c43508 Greg Ungerer 2012-10-24 138 " .bss : 0x%p" " - 0x%p" " (%4d KiB)\n", dd1cb3a7c43508 Greg Ungerer 2012-10-24 139 MLK(VECTORS, VECTORS + 256), dd1cb3a7c43508 Greg Ungerer 2012-10-24 140 MLM(KMAP_START, KMAP_END), dd1cb3a7c43508 Greg Ungerer 2012-10-24 141 MLM(VMALLOC_START, VMALLOC_END), dd1cb3a7c43508 Greg Ungerer 2012-10-24 142 MLM(PAGE_OFFSET, (unsigned long)high_memory), dd1cb3a7c43508 Greg Ungerer 2012-10-24 143 MLK_ROUNDUP(__init_begin, __init_end), dd1cb3a7c43508 Greg Ungerer 2012-10-24 144 MLK_ROUNDUP(_stext, _etext), dd1cb3a7c43508 Greg Ungerer 2012-10-24 145 MLK_ROUNDUP(_sdata, _edata), dd1cb3a7c43508 Greg Ungerer 2012-10-24 146 MLK_ROUNDUP(__bss_start, __bss_stop)); dd1cb3a7c43508 Greg Ungerer 2012-10-24 147 } dd1cb3a7c43508 Greg Ungerer 2012-10-24 148 :::::: The code at line 125 was first introduced by commit :::::: dd1cb3a7c43508c29e17836628090c0735bd3137 m68k: merge MMU and non-MMU versions of mm/init.c :::::: TO: Greg Ungerer :::::: CC: Geert Uytterhoeven -- 0-DAY CI Kernel Test Service https://01.org/lkp