Hi Kees, I love your patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on linus/master v5.14-rc3] [cannot apply to wireless-drivers-next/master wireless-drivers/master next-20210727] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Kees-Cook/Introduce-strict-memcpy-bounds-checking/20210728-053749 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 39f9137268ee3df0047706df4e9b7357a40ffc98 config: arm-randconfig-r031-20210727 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 10.3.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/0day-ci/linux/commit/6617421fca0f2272593a2659a5cba25bf8249857 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Kees-Cook/Introduce-strict-memcpy-bounds-checking/20210728-053749 git checkout 6617421fca0f2272593a2659a5cba25bf8249857 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/string.h:253, from arch/arm/boot/compressed/string.c:8: >> include/linux/fortify-string.h:272:42: error: expected identifier or '(' before '{' token 272 | p_size_field, q_size_field, op) ({ \ | ^ include/linux/fortify-string.h:283:26: note: in expansion of macro '__fortify_memcpy_chk' 283 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ arch/arm/boot/compressed/string.c:29:7: note: in expansion of macro 'memcpy' 29 | void *memcpy(void *__dest, __const void *__src, size_t __n) | ^~~~~~ vim +272 include/linux/fortify-string.h 270 271 #define __fortify_memcpy_chk(p, q, size, p_size, q_size, \ > 272 p_size_field, q_size_field, op) ({ \ 273 size_t __fortify_size = (size_t)(size); \ 274 fortify_memcpy_chk(__fortify_size, p_size, q_size, \ 275 p_size_field, q_size_field, #op); \ 276 __underlying_##op(p, q, __fortify_size); \ 277 }) 278 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org