[dpdk-test-report] |WARNING| pw101763 [PATCH] net/enic: fix build with GCC 7.5

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Fri Oct 15 19:59:58 CEST 2021


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

_apply patch failure_

Submitter: Ferruh Yigit <ferruh.yigit at intel.com>
Date: Friday, October 15 2021 10:28:18 
Applied on: CommitID:b95af1946ab4fde8489f8a91199d3b5579918997
Apply patch set 101763 failed:

Checking patch drivers/net/enic/enic_fm_flow.c...
Hunk #1 succeeded at 1435 (offset -29 lines).
error: while searching for:
		}
		case RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR: {
			const struct rte_flow_action_ethdev *ethdev;
			struct rte_eth_dev *dev;

			ethdev = actions->conf;
			ret = enic_fm_check_transfer_dst(enic, ethdev->port_id,

error: patch failed: drivers/net/enic/enic_fm_flow.c:1577
error: while searching for:
		}
		case RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT: {
			const struct rte_flow_action_ethdev *ethdev;
			struct rte_eth_dev *dev;

			if (overlap & PORT_ID) {
				ENICPMD_LOG(DEBUG, "cannot have multiple egress PORT_ID actions");

error: patch failed: drivers/net/enic/enic_fm_flow.c:1596
Applying patch drivers/net/enic/enic_fm_flow.c with 2 rejects...
Hunk #1 applied cleanly.
Rejected hunk #2.
Rejected hunk #3.
diff a/drivers/net/enic/enic_fm_flow.c b/drivers/net/enic/enic_fm_flow.c	(rejected hunks)
@@ -1577,7 +1577,7 @@ enic_fm_copy_action(struct enic_flowman *fm,
 		}
 		case RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR: {
 			const struct rte_flow_action_ethdev *ethdev;
-			struct rte_eth_dev *dev;
+			struct rte_eth_dev *dev = NULL;
 
 			ethdev = actions->conf;
 			ret = enic_fm_check_transfer_dst(enic, ethdev->port_id,
@@ -1596,7 +1596,7 @@ enic_fm_copy_action(struct enic_flowman *fm,
 		}
 		case RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT: {
 			const struct rte_flow_action_ethdev *ethdev;
-			struct rte_eth_dev *dev;
+			struct rte_eth_dev *dev = NULL;
 
 			if (overlap & PORT_ID) {
 				ENICPMD_LOG(DEBUG, "cannot have multiple egress PORT_ID actions");

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

UNH-IOL DPDK Community Lab


More information about the test-report mailing list