automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw119708 [PATCH v1] net/iavf: fix taninted scalar
       [not found] <20221110072529.132523-1-stevex.yang@intel.com>
@ 2022-11-10  7:37 ` checkpatch
  0 siblings, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-11-10  7:37 UTC (permalink / raw)
  To: test-report; +Cc: Steve Yang

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119708

_coding style issues_


WARNING:TYPO_SPELLING: 'wich' may be misspelled - perhaps 'which'?
#75: 
"iavf_refine_proto_hdrs", wich uses it as a loop boundary.

total: 0 errors, 1 warnings, 0 checks, 84 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

* |WARNING| pw119708 [PATCH] [v1] net/iavf: fix taninted scalar
@ 2022-11-10  7:58 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-11-10  7:58 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Steve Yang <stevex.yang@intel.com>
Date: Thursday, November 10 2022 07:25:29 
Applied on: CommitID:5d6740652827ed3ef3625c04cca727ddcbcf6ca6
Apply patch set 119708 failed:

Checking patch drivers/net/iavf/iavf_hash.c...
error: while searching for:
	struct virtchnl_proto_hdr *hdr2;
	int i, shift_count = 1;
	int tun_lvl = proto_hdrs->tunnel_level;
	int phdrs_count = 0;

	if (!(phint & IAVF_PHINT_GTPU_MSK) && !(phint & IAVF_PHINT_GRE))
		return;

error: patch failed: drivers/net/iavf/iavf_hash.c:1210
error: while searching for:
		if (phint & IAVF_PHINT_LAYERS_MSK)
			shift_count = 2;

		phdrs_count = proto_hdrs->count;
		/* shift headers layer */
		for (i = phdrs_count - 1 + shift_count;
		     i > shift_count - 1; i--) {
			hdr1 = &proto_hdrs->proto_hdr[i];
			hdr2 = &proto_hdrs->proto_hdr[i - shift_count];

error: patch failed: drivers/net/iavf/iavf_hash.c:1219
Hunk #5 succeeded at 1279 (offset 1 line).
Hunk #6 succeeded at 1286 (offset 1 line).
Hunk #7 succeeded at 1299 (offset 1 line).
Hunk #8 succeeded at 1423 (offset 1 line).
Hunk #9 succeeded at 1483 (offset 1 line).
Applying patch drivers/net/iavf/iavf_hash.c with 2 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Rejected hunk #3.
Rejected hunk #4.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
Hunk #8 applied cleanly.
Hunk #9 applied cleanly.
diff a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c	(rejected hunks)
@@ -1210,7 +1208,6 @@ iavf_refine_proto_hdrs_by_pattern(struct virtchnl_proto_hdrs *proto_hdrs,
 	struct virtchnl_proto_hdr *hdr2;
 	int i, shift_count = 1;
 	int tun_lvl = proto_hdrs->tunnel_level;
-	int phdrs_count = 0;
 
 	if (!(phint & IAVF_PHINT_GTPU_MSK) && !(phint & IAVF_PHINT_GRE))
 		return;
@@ -1219,9 +1216,8 @@ iavf_refine_proto_hdrs_by_pattern(struct virtchnl_proto_hdrs *proto_hdrs,
 		if (phint & IAVF_PHINT_LAYERS_MSK)
 			shift_count = 2;
 
-		phdrs_count = proto_hdrs->count;
 		/* shift headers layer */
-		for (i = phdrs_count - 1 + shift_count;
+		for (i = proto_hdrs->count - 1 + shift_count;
 		     i > shift_count - 1; i--) {
 			hdr1 = &proto_hdrs->proto_hdr[i];
 			hdr2 = &proto_hdrs->proto_hdr[i - shift_count];

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221110072529.132523-1-stevex.yang@intel.com>
2022-11-10  7:37 ` |WARNING| pw119708 [PATCH v1] net/iavf: fix taninted scalar checkpatch
2022-11-10  7:58 |WARNING| pw119708 [PATCH] [v1] " 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).