fs/btrfs/btrfs.o: warning: objtool: btrfs_unfreeze+0x4b3: unreachable instruction

From: kernel test robot
Date: Mon Mar 27 2023 - 08:34:16 EST


Hi Mark,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 197b6b60ae7bc51dd0814953c562833143b292aa
commit: c27cd083cfb9d392f304657ed00fcde1136704e7 Compiler attributes: GCC cold function alignment workarounds
date: 9 weeks ago
config: x86_64-randconfig-m001-20230327 (https://download.01.org/0day-ci/archive/20230327/202303272002.GzGlsDY1-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c27cd083cfb9d392f304657ed00fcde1136704e7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c27cd083cfb9d392f304657ed00fcde1136704e7
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303272002.GzGlsDY1-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> fs/btrfs/btrfs.o: warning: objtool: btrfs_unfreeze+0x4b3: unreachable instruction


objdump-func vmlinux.o btrfs_unfreeze:

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