|WARNING| pw112893 [PATCH] app: fix gcc 12 array bounds warning

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Jun 16 12:48:34 CEST 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/112893

_apply patch failure_

Submitter: Wu, WenxuanX <wenxuanx.wu at intel.com>
Date: Thursday, June 16 2022 10:39:44 
Applied on: CommitID:7342e612052ae3ec875ae018548324d29abfa9c2
Apply patch set 112893 failed:

Checking patch app/test-flow-perf/main.c...
error: while searching for:
	int i = 0;
	int off = 0;

	while (n > 1000) {
		sprintf(p[i], "%03d", (int)(n % 1000));
		n /= 1000;
		i += 1;

error: patch failed: app/test-flow-perf/main.c:1728
Applying patch app/test-flow-perf/main.c with 1 reject...
Rejected hunk #1.
diff a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c	(rejected hunks)
@@ -1728,7 +1728,7 @@ pretty_number(uint64_t n, char *buf)
 	int i = 0;
 	int off = 0;
 
-	while (n > 1000) {
+	while (n >= 1000) {
 		sprintf(p[i], "%03d", (int)(n % 1000));
 		n /= 1000;
 		i += 1;

https://lab.dpdk.org/results/dashboard/patchsets/22648/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list