tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git master head: e223cadc191661c67cb419b3a53c7854ecc39e8b commit: e223cadc191661c67cb419b3a53c7854ecc39e8b [1174/1174] Merge tag 'v5.0' config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout e223cadc191661c67cb419b3a53c7854ecc39e8b # save the attached .config to linux build tree GCC_VERSION=8.2.0 make.cross ARCH=m68k All warnings (new ones prefixed by >>): In file included from include/linux/string.h:20, from include/linux/bitmap.h:9, from include/linux/nodemask.h:95, from include/linux/mmzone.h:17, from include/linux/gfp.h:6, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/nvme/target/admin-cmd.c:15: In function 'memcpy_and_pad', inlined from 'nvmet_execute_identify_ctrl' at drivers/nvme/target/admin-cmd.c:309:2:
arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7] [-Warray-bounds]
#define memcpy(d, s, n) __builtin_memcpy(d, s, n) ^~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/string.h:456:3: note: in expansion of macro 'memcpy' memcpy(dest, src, dest_len); ^~~~~~ vim +/__builtin_memcpy +72 arch/m68k/include/asm/string.h ea61bc46 Greg Ungerer 2010-09-07 69 ea61bc46 Greg Ungerer 2010-09-07 70 #define __HAVE_ARCH_MEMCPY ea61bc46 Greg Ungerer 2010-09-07 71 extern void *memcpy(void *, const void *, __kernel_size_t); ea61bc46 Greg Ungerer 2010-09-07 @72 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) ea61bc46 Greg Ungerer 2010-09-07 73 :::::: The code at line 72 was first introduced by commit :::::: ea61bc461d09e8d331a307916530aaae808c72a2 m68k/m68knommu: merge MMU and non-MMU string.h :::::: TO: Greg Ungerer <gerg@xxxxxxxxxxxx> :::::: CC: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip