automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw112891 [PATCH] app: fix gcc 12 array bounds warning
@ 2022-06-16 10:30 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-06-16 10:30 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

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

_apply patch failure_

Submitter: Wu, WenxuanX <wenxuanx.wu@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 10:30 |WARNING| pw112891 [PATCH] app: fix gcc 12 array bounds warning dpdklab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).