Re: [PATCH 07/15] nvme: add Clang context annotations for nvme_subsystem::lock

From: Bart Van Assche

Date: Wed Jun 10 2026 - 12:41:39 EST


On 6/10/26 7:27 AM, Nilay Shroff wrote:
+ mutex_lock(&ctrl->subsys->lock);
list_add_tail(&head->entry, &ctrl->subsys->nsheads);
+ mutex_unlock(&ctrl->subsys->lock);

Has it been considered to use scoped_guard()?

Thanks,

Bart.