kernel/ptrace.o: warning: objtool: .text.unlikely: unexpected end of section

From: kernel test robot
Date: Wed Jan 31 2024 - 04:37:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1bbb19b6eb1b8685ab1c268a401ea64380b8bbcb
commit: 5431fdd2c181dd2eac218e45b44deb2925fa48f0 ptrace: Convert ptrace_attach() to use lock guards
date: 9 weeks ago
config: x86_64-buildonly-randconfig-r002-20230716 (https://download.01.org/0day-ci/archive/20240131/202401311748.wrSxIcOq-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240131/202401311748.wrSxIcOq-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401311748.wrSxIcOq-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/ptrace.o: warning: objtool: .text.unlikely: unexpected end of section

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki