Hi Alexandre, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/auto-latest] [also build test WARNING on linus/master v5.7-rc1 next-20200414] [cannot apply to tip/x86/core linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alexandre-Chartre/objtool-changes-to-check-retpoline-code/20200415-015312 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 354a2fb98a37f696a1cffdc58dbff48a02e7c611 config: x86_64-randconfig-b002-20200415 (attached as .config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot All warnings (new ones prefixed by >>): >> mm/kasan/common.o: warning: objtool: kasan_report()+0x13: error in alternative >> mm/kasan/common.o: warning: objtool: .altinstr_replacement+0xa: in alternative 1 >> mm/kasan/common.o: warning: objtool: .altinstr_replacement+0xb: invalid alternative state mm/kasan/common.o: warning: objtool: kasan_report()+0x3b: error in alternative mm/kasan/common.o: warning: objtool: .altinstr_replacement+0xf: in alternative 1 mm/kasan/common.o: warning: objtool: .altinstr_replacement+0x10: invalid alternative state --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org