From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AE4426E6F4; Wed, 25 Feb 2026 01:42:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983776; cv=none; b=g8FNC01qOLcPbK+EqzM6WQunD2S2SVhSS3dQah223djoLzWdbyp3kDrqUPQM0cB8OU/UViqdFwy17CraAAhqs85L1nQnPp6jU2TDZ2Ga6gm6/Odr4L+HUyKZN+1rqs9RbSyrKP7wdiBFWdEL1z12XfnojB0y0rmES8Zms84KNto= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983776; c=relaxed/simple; bh=sUGQKhmdeWu5FlckUOGrIgp7rhOEq6Uq4opxSIRi0E8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r6IDElt8qF2fpq6SMp+B55qswqpLbXcjJJu0RFcGPKPVHn78diA5iXTZX3lIDUXeGPJq87069MrV8iw6FnYZUExb0FYggwBxvI45I+vkpxBiSDsh3LWNwCLJKXnT+G8k8ItshkOmD1ApOzKlvWS5/Gw5U3avOmVBn3Wu0uhl2PM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fgB4tlyn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="fgB4tlyn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ECECC19423; Wed, 25 Feb 2026 01:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771983776; bh=sUGQKhmdeWu5FlckUOGrIgp7rhOEq6Uq4opxSIRi0E8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fgB4tlyngAJjVNRzjZMOnRu2S3lI+YkSJTIrN4wmfdZKj+IkKkyaxUoO9lCny8ea4 WrSFZfEwRzeAXqiYG4w05FrjJByz9r4LfgAe2NcZJl+4D6yLxvPFB1hENtizrTG0Ti hP0GKLn6Yweg+AVfE3NT0cuE/6w429zR7uION4+o= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Eduard Zingerman , Puranjay Mohan , Alexei Starovoitov , Sasha Levin Subject: [PATCH 6.18 066/641] selftests/bpf: veristat: fix printing order in output_stats() Date: Tue, 24 Feb 2026 17:16:32 -0800 Message-ID: <20260225012350.657356747@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012348.915798704@linuxfoundation.org> References: <20260225012348.915798704@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Puranjay Mohan [ Upstream commit c286e7e9d1f1f3d90ad11c37e896f582b02d19c4 ] The order of the variables in the printf() doesn't match the text and therefore veristat prints something like this: Done. Processed 24 files, 0 programs. Skipped 62 files, 0 programs. When it should print: Done. Processed 24 files, 62 programs. Skipped 0 files, 0 programs. Fix the order of variables in the printf() call. Fixes: 518fee8bfaf2 ("selftests/bpf: make veristat skip non-BPF and failing-to-open BPF objects") Tested-by: Eduard Zingerman Signed-off-by: Puranjay Mohan Link: https://lore.kernel.org/r/20251231221052.759396-1-puranjay@kernel.org Signed-off-by: Alexei Starovoitov Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/veristat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/veristat.c b/tools/testing/selftests/bpf/veristat.c index e962f133250c7..1be1e353d40a7 100644 --- a/tools/testing/selftests/bpf/veristat.c +++ b/tools/testing/selftests/bpf/veristat.c @@ -2580,7 +2580,7 @@ static void output_stats(const struct verif_stats *s, enum resfmt fmt, bool last if (last && fmt == RESFMT_TABLE) { output_header_underlines(); printf("Done. Processed %d files, %d programs. Skipped %d files, %d programs.\n", - env.files_processed, env.files_skipped, env.progs_processed, env.progs_skipped); + env.files_processed, env.progs_processed, env.files_skipped, env.progs_skipped); } } -- 2.51.0