From 6e232f540e03d13e4a8de7ed5935aa1238b8e213 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 1 Apr 2026 09:43:52 +0200 Subject: [PATCH] nvme-print-json: do not enable verbose mode on default The default output format version has been changed to 2. The nighly test break because this enabled the verbose mode for the JSON output. Fixes: b1e8cfae642b ("nvme: change default output format version to 2") Signed-off-by: Daniel Wagner --- nvme-print-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvme-print-json.c b/nvme-print-json.c index 17b1c37183..4b58ad25c9 100644 --- a/nvme-print-json.c +++ b/nvme-print-json.c @@ -203,7 +203,7 @@ static void json_id_iocs_iocsc(struct json_object *obj_iocsc, __u64 iocsc) static bool verbose_mode(void) { - return json_print_ops.flags & VERBOSE || nvme_args.output_format_ver == 2; + return json_print_ops.flags & VERBOSE; } static void json_id_iocs(struct nvme_id_iocs *iocs)