diff options
author | John Garry <john.g.garry@oracle.com> | 2025-06-30 19:21:53 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-07-14 16:51:06 +0300 |
commit | dd8e34afd6709cb2f9c0e63340f567e6c066ed8e (patch) | |
tree | 62b75012294e9739c0802e2dd5ba0741b777c561 /scripts/gdb/linux/utils.py | |
parent | 80d7762e0a42307ee31b21f090e21349b98c14f6 (diff) | |
download | linux-dd8e34afd6709cb2f9c0e63340f567e6c066ed8e.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions