[PATCHv3] nvme: use ctrl state accessor
Chaitanya Kulkarni
chaitanyak at nvidia.com
Mon Jan 29 02:52:13 PST 2024
On 1/26/24 09:16, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> The ctrl->state value is updated in another thread using WRITE_ONCE, so
> ensure all the readers use the appropriate accessor.
>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
> ---
> v2->v3:
>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list