Re: [PATCH] scsi: core: Enable context analysis for hosts.o

"Martin K. Petersen (Oracle)" <[email protected]>
Newsgroups org.kernel.vger.linux-scsi
Message-ID <178775714064.3862282.13326172323276262259.b4-ty@b4>
On Fri, 14 Aug 2026 16:20:08 +0000, Bart Van Assche wrote:

> Enable compiler-based context analysis for drivers/scsi/hosts.c by setting
> CONTEXT_ANALYSIS_hosts.o := y in drivers/scsi/Makefile.
> 
> The SCSI host management code in hosts.c now has the necessary lock context
> annotations (such as __must_hold(shost->host_lock) on scsi_host_set_state)
> and conforms to compile-time lock checking rules. It builds cleanly without
> triggering any context analysis warnings.
> 
> [...]

Applied to 7.3/scsi-queue, thanks!

[1/1] scsi: core: Enable context analysis for hosts.o
      https://git.kernel.org/mkp/scsi/c/d34a88f53a7a

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.