You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvme: fix endianness of command word prints in nvme_log_err_passthru()
[ Upstream commit dd8e34afd6709cb2f9c0e63340f567e6c066ed8e ]
The command word members of struct nvme_common_command are __le32 type,
so use helper le32_to_cpu() to read them properly.
Fixes: 9f079dd ("nvme: allow passthru cmd error logging")
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Alan Adamson <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
(cherry picked from commit 124765c206034d9f0bd07e7257c9e22c0af2e74e)
Signed-off-by: Jack Vogel <[email protected]>
0 commit comments