[PATCH 12/15] nvme: add Clang context annotations for nvme_queue::cq_poll_lock

Keith Busch kbusch at kernel.org
Wed Jun 10 09:46:59 PDT 2026


On Wed, Jun 10, 2026 at 07:57:32PM +0530, Nilay Shroff wrote:
> Fix the warning by acquiring nvme_queue::cq_poll_lock before invoking
> nvme_cqe_pending() in nvme_poll().

The check outside the lock was done on purpose, though.



More information about the Linux-nvme mailing list