diff options
author | Keith Busch <[email protected]> | 2022-09-19 12:45:08 -0700 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-09-27 09:15:56 +0200 |
commit | a8eb6c1ba48bddea82e8d74cbe6e119f006be97d (patch) | |
tree | 5b98ed4d75cc60a97952fa479a1ef44f9438a774 /lib/debugobjects.c | |
parent | bc8fb906b0ff9339b4286698cb7cd9cd5b8c53eb (diff) |
nvme: copy firmware_rev on each init
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 <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Chao Leng <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions