Skip to contentSkip to conversation

selftests: bpf: crypto: Improved clarity in test output message

PATCH New Noorain Eqbal 1 participant 1 message Aug 4, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: bpf: crypto: Improved clarity in test output message

In 'crypto_setup()' the error message for invalid buffer size was updated for grammar and clarity

This change does not affect the test behaviour but improve the quality of test output

---
 tools/testing/selftests/bpf/benchs/bench_bpf_crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/benchs/bench_bpf_crypto.c +1 -1
index 2845edaba8db..ac91cb224373 100644
@@ -83,7 +83,7 @@ static void crypto_setup(void)
 
 	sz = args.crypto_len;
 	if (!sz || sz > sizeof(ctx.skel->bss->dst)) {
-		fprintf(stderr, "invalid encrypt buffer size (source %zu, target %zu)\n",
+		fprintf(stderr, "invalid encryption buffer size: source %zu, target %zu\n",
 			sz, sizeof(ctx.skel->bss->dst));
 		exit(1);
 	}
Signature · 1 line
2.50.1