Skip to content

Commit 6e4a858

Browse files
sharpLiuigaw
authored andcommitted
nvme-print-stdout: print frl1/2/3 values for zns id-ns
The zns id-ns outputs always the frl value instead the matching frl1/2/3. Signed-off-by: lebao <sharpllr@163.com>
1 parent f453d64 commit 6e4a858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nvme-print-stdout.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -3199,9 +3199,9 @@ static void stdout_zns_id_ns(struct nvme_zns_id_ns *ns,
31993199
stdout_zns_id_ns_recommended_limit(ns->rrl1, human, "rrl1");
32003200
stdout_zns_id_ns_recommended_limit(ns->rrl2, human, "rrl2");
32013201
stdout_zns_id_ns_recommended_limit(ns->rrl3, human, "rrl3");
3202-
stdout_zns_id_ns_recommended_limit(ns->frl, human, "frl1");
3203-
stdout_zns_id_ns_recommended_limit(ns->frl, human, "frl2");
3204-
stdout_zns_id_ns_recommended_limit(ns->frl, human, "frl3");
3202+
stdout_zns_id_ns_recommended_limit(ns->frl1, human, "frl1");
3203+
stdout_zns_id_ns_recommended_limit(ns->frl2, human, "frl2");
3204+
stdout_zns_id_ns_recommended_limit(ns->frl3, human, "frl3");
32053205

32063206
printf("numzrwa : %#x\n", le32_to_cpu(ns->numzrwa));
32073207
printf("zrwafg : %u\n", le16_to_cpu(ns->zrwafg));

0 commit comments

Comments
 (0)