[PATCH] nvme: convert little endian NVME definitions to native format

Tokunori Ikegami ikegami.t at gmail.com
Mon Sep 16 14:24:45 PDT 2024


Okay I will do check the actual behavior again. (Since I thought the 
definition value works as little endian byte order on the big endian 
environment.) Thank you.

On 2024/09/17 3:12, Caleb Sander wrote:
> Why not? CPUs assume native byte order for all arithmetic operations.
> The fact that you could print this value implies it must be
> represented in native byte order. Non-native endianness is only
> relevant when interacting with byte-addressable data external to the
> CPU (storage, network, etc.).



More information about the Linux-nvme mailing list