From 6277cb9183626cb65fbb9aa557084fec30a17be7 Mon Sep 17 00:00:00 2001 From: Niklas Cassel Date: Fri, 18 Sep 2020 15:39:29 +0000 Subject: [PATCH] nvme-print: fix ZNS Read Across Zone Boundaries print According to the ZNS specification, Read Across Zone Boundaries in the ozcs field is at bit 0, not at bit 2. Signed-off-by: Niklas Cassel --- nvme-print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvme-print.c b/nvme-print.c index 05b39d77..10190a31 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -2977,7 +2977,7 @@ static void show_nvme_id_ns_zoned_ozcs(__le16 ns_ozcs) if (rsvd) printf(" [15:1] : %#x\tReserved\n", rsvd); - printf(" [2:2] : %#x\tRead Across Zone Boundaries: %s\n", + printf(" [0:0] : %#x\tRead Across Zone Boundaries: %s\n", razb, razb ? "Yes" : "No"); printf("\n"); } -- 2.50.1