diff options
author | Parav Pandit <[email protected]> | 2017-01-26 17:17:28 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-02-22 13:34:00 -0700 |
commit | 986994a27587efd8ce4c595cab89b570f7475359 (patch) | |
tree | d15adc87e0864d0a79c1a1cfc01bd16edc076710 /scripts/gdb/linux/lists.py | |
parent | 778f067c185ce56d06aedb5fba5a0e98bb464f7b (diff) |
nvme: Use CNS as 8-bit field and avoid endianness conversion
This patch defines CNS field as 8-bit field and avoids cpu_to/from_le
conversions.
Also initialize nvme_command cns value explicitly to NVME_ID_CNS_NS
for readability (don't rely on the fact that NVME_ID_CNS_NS = 0).
Reviewed-by: Max Gurtovoy <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions