diff options
author | John Garry <john.g.garry@oracle.com> | 2025-06-30 16:21:53 +0000 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-07-14 15:51:06 +0200 |
commit | dd8e34afd6709cb2f9c0e63340f567e6c066ed8e (patch) | |
tree | 62b75012294e9739c0802e2dd5ba0741b777c561 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 80d7762e0a42307ee31b21f090e21349b98c14f6 (diff) |
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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions