diff options
author | 2025-06-30 16:21:53 +0000 | |
---|---|---|
committer | 2025-07-14 15:51:06 +0200 | |
commit | dd8e34afd6709cb2f9c0e63340f567e6c066ed8e (patch) | |
tree | 62b75012294e9739c0802e2dd5ba0741b777c561 /rust/pin-init/internal/src | |
parent | nvme: fix inconsistent RCU list manipulation in nvme_ns_add_to_ctrl_list() (diff) | |
download | wireguard-linux-dd8e34afd6709cb2f9c0e63340f567e6c066ed8e.tar.xz wireguard-linux-dd8e34afd6709cb2f9c0e63340f567e6c066ed8e.zip |
nvme: fix endianness of command word prints in nvme_log_err_passthru()
The command word members of struct nvme_common_command are __le32 type,
so use helper le32_to_cpu() to read them properly.
Fixes: 9f079dda1433 ("nvme: allow passthru cmd error logging")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions