0 day kernel build service
 help / color / mirror / Atom feed
* [bvanassche:scsi-thread-safety 59/61] drivers/scsi/BusLogic.c:3102:8: warning: calling function 'blogic_qcmd_lck' requires holding spinlock 'command->device->host->host_lock' exclusively
@ 2026-09-24 15:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-24 15:24 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "only suspicious fbc files changed"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
TO: Bart Van Assche <bvanassche@acm.org>

tree:   https://github.com/bvanassche/linux scsi-thread-safety
head:   7d0e7ae45b2d0446db9f464c5fabb2da366c9bab
commit: 0db28c081d322fcd2e3eda3ec8c8b8fddd79b9c5 [59/61] scsi: drivers: Enable lock context analysis
:::::: branch date: 2 days ago
:::::: commit date: 3 days ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260924/202609242309.SIM27DBi-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6e714c8d91116794cb699cdf80c26afe9cda3ef3)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/202609242309.SIM27DBi-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202609242309.SIM27DBi-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/scsi/BusLogic.c:3102:8: warning: calling function 'blogic_qcmd_lck' requires holding spinlock 'command->device->host->host_lock' exclusively [-Wthread-safety-precise]
    3102 | static DEF_SCSI_QCMD(blogic_qcmd)
         |        ^
   include/scsi/scsi_host.h:537:8: note: expanded from macro 'DEF_SCSI_QCMD'
     537 |                 rc = func_name##_lck(cmd);                              \
         |                      ^
   <scratch space>:67:1: note: expanded from here
      67 | blogic_qcmd_lck
         | ^
   drivers/scsi/BusLogic.c:3102:8: note: found near match 'h->host_lock'
   include/scsi/scsi_host.h:537:8: note: expanded from macro 'DEF_SCSI_QCMD'
     537 |                 rc = func_name##_lck(cmd);                              \
         |                      ^
   <scratch space>:67:1: note: expanded from here
      67 | blogic_qcmd_lck
         | ^
   1 warning generated.


vim +3102 drivers/scsi/BusLogic.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  3101  
839cb99e8f7483 Khalid Aziz    2013-05-16 @3102  static DEF_SCSI_QCMD(blogic_qcmd)
^1da177e4c3f41 Linus Torvalds 2005-04-16  3103  

:::::: The code at line 3102 was first introduced by commit
:::::: 839cb99e8f748391059d10388c8aea48a88c142c [SCSI] BusLogic: Fix style issues

:::::: TO: Khalid Aziz <khalid.aziz@oracle.com>
:::::: CC: James Bottomley <JBottomley@Parallels.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-24 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 15:24 [bvanassche:scsi-thread-safety 59/61] drivers/scsi/BusLogic.c:3102:8: warning: calling function 'blogic_qcmd_lck' requires holding spinlock 'command->device->host->host_lock' exclusively kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox