|WARNING| pw112891 [PATCH] app: fix gcc 12 array bounds warning
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Jun 16 12:30:33 CEST 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/112891
_apply patch failure_
Submitter: Wu, WenxuanX <wenxuanx.wu at intel.com>
Date: Thursday, June 16 2022 10:26:13
Applied on: CommitID:7342e612052ae3ec875ae018548324d29abfa9c2
Apply patch set 112891 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/22646/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list