]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: fix ZNS MAR/MOR print
authorNiklas Cassel <niklas.cassel@wdc.com>
Fri, 18 Sep 2020 15:40:16 +0000 (15:40 +0000)
committerKeith Busch <kbusch@kernel.org>
Fri, 18 Sep 2020 16:27:59 +0000 (10:27 -0600)
commit55568b4b418f2db24928242fb6780ccc4d02b1f7
treef12af74109592d5b4f7dd64b193f82f2dbbed4a4
parent6277cb9183626cb65fbb9aa557084fec30a17be7
nvme-print: fix ZNS MAR/MOR print

According to the ZNS specification, MAR/MOR is 0's based, and no limit for
these fields are represented as 0xffffffff, not as 0.
Since all ones is the same in little endian and big endian, no need to
do any conversion before doing the comparison.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
nvme-print.c