[linux-stable-rc:linux-4.9.y 9923/9999] drivers/scsi/libsas/sas_scsi_host.o: warning: objtool: sas_target_destroy() falls through to next function sas_slave_configure.cold()

From: kernel test robot
Date: Sun Jul 18 2021 - 23:32:03 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
head: e000f87958680ef8e8724d749ed5cd4c769a18cf
commit: 410b20dd6f219d4fc3ac2c48705fc0f4025e2078 [9923/9999] objtool: Support GCC 9 cold subfunction naming scheme
config: x86_64-randconfig-a001-20210718 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=410b20dd6f219d4fc3ac2c48705fc0f4025e2078
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.9.y
git checkout 410b20dd6f219d4fc3ac2c48705fc0f4025e2078
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash LDFLAGS=-z max-page-size=0x200000

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/scsi/libsas/sas_scsi_host.c: In function 'sas_slave_configure':
drivers/scsi/libsas/sas_scsi_host.c:863:24: warning: variable 'sas_ha' set but not used [-Wunused-but-set-variable]
863 | struct sas_ha_struct *sas_ha;
| ^~~~~~
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:257: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/include/asm/bitops.h:257: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
>> drivers/scsi/libsas/sas_scsi_host.o: warning: objtool: sas_target_destroy() falls through to next function sas_slave_configure.cold()

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

Attachment: .config.gz
Description: application/gzip