|WARNING| pw132737 [PATCH] ethdev: fix flow action async query coverity
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Oct 17 20:39:29 CEST 2023
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/132737
_apply patch failure_
Submitter: Suanming Mou <suanmingm at nvidia.com>
Date: Tuesday, October 17 2023 08:23:17
Applied on: CommitID:99dcd1664982fd93d49ca159a97ad16537a1914f
Apply patch set 132737 failed:
Checking patch lib/ethdev/rte_flow.c...
error: while searching for:
const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
int ret;
ret = ops->async_action_handle_query(dev, queue_id, op_attr,
action_handle, data, user_data, error);
ret = flow_err(port_id, ret, error);
error: patch failed: lib/ethdev/rte_flow.c:2226
Applying patch lib/ethdev/rte_flow.c with 1 reject...
Rejected hunk #1.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c (rejected hunks)
@@ -2226,6 +2226,8 @@ rte_flow_async_action_handle_query(uint16_t port_id,
const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
int ret;
+ if (unlikely(!ops))
+ return -rte_errno;
ret = ops->async_action_handle_query(dev, queue_id, op_attr,
action_handle, data, user_data, error);
ret = flow_err(port_id, ret, error);
https://lab.dpdk.org/results/dashboard/patchsets/27962/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list