From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [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
Date: Thu, 24 Sep 2026 23:24:54 +0800 [thread overview]
Message-ID: <202609242309.SIM27DBi-lkp@intel.com> (raw)
::::::
:::::: 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
reply other threads:[~2026-09-24 15:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609242309.SIM27DBi-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.