diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-06-30 16:21:53 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-24 08:58:35 +0200 |
| commit | 6256554df6c81337c52d91b383765732dad47fe6 (patch) | |
| tree | 3700e7970d784f8a4101567aeef0e67efc743bbd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 433737ca249921b08e4247d963e987856ddf1039 (diff) | |
| download | kernel-6256554df6c81337c52d91b383765732dad47fe6.tar.gz | |
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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
