[PATCH] nvme: copy firmware_rev on each init

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Sep 19 16:04:45 PDT 2022


On 9/19/22 12:45, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> The firmware revision can change on after a reset so copy the most
> recent info each time instead of just the first time, otherwise the
> sysfs firmware_rev entry may contain stale data.
> 
> Reported-by: Jeff Lien <jeff.lien at wdc.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
>


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list