[jpoimboe:objtool-test 1/1] drivers/net/wireless/mac80211_hwsim.o: warning: objtool: mac80211_hwsim_tx()+0xbe2: unreachable instruction

From: kernel test robot
Date: Tue Jan 18 2022 - 18:06:16 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-test
head: 14d7c68274f2a17d5734c87971f08cd08cf862c6
commit: 14d7c68274f2a17d5734c87971f08cd08cf862c6 [1/1] objtool: prefer memory clobber & %= to volatile & __COUNTER__
config: x86_64-rhel-8.3-func (https://download.01.org/0day-ci/archive/20220119/202201190702.XNSXrMTK-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=14d7c68274f2a17d5734c87971f08cd08cf862c6
git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git
git fetch --no-tags jpoimboe objtool-test
git checkout 14d7c68274f2a17d5734c87971f08cd08cf862c6
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/mac80211_hwsim.o: warning: objtool: mac80211_hwsim_tx()+0xbe2: unreachable instruction

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx