summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2025-06-30 19:21:53 +0300
committerChristoph Hellwig <hch@lst.de>2025-07-14 16:51:06 +0300
commitdd8e34afd6709cb2f9c0e63340f567e6c066ed8e (patch)
tree62b75012294e9739c0802e2dd5ba0741b777c561 /scripts/gdb/linux/utils.py
parent80d7762e0a42307ee31b21f090e21349b98c14f6 (diff)
downloadlinux-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