[PATCH] nvme: fix endianness of command word prints in nvme_log_err_passthru()

Keith Busch kbusch at kernel.org
Mon Jun 30 09:44:11 PDT 2025


On Mon, Jun 30, 2025 at 04:21:53PM +0000, John Garry wrote:
> The command word members of struct nvme_common_command are __le32 type,
> so use helper le32_to_cpu() to read them properly.

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list