automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw132737 [PATCH] ethdev: fix flow action async query coverity
@ 2023-10-17 18:39 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2023-10-17 18:39 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Suanming Mou <suanmingm@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

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

* |WARNING| pw132737 [PATCH] ethdev: fix flow action async query coverity
       [not found] <20231017082317.735106-1-suanmingm@nvidia.com>
@ 2023-10-17  8:25 ` checkpatch
  0 siblings, 0 replies; 2+ messages in thread
From: checkpatch @ 2023-10-17  8:25 UTC (permalink / raw)
  To: test-report; +Cc: Suanming Mou

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

_coding style issues_


WARNING:TYPO_SPELLING: 'chcek' may be misspelled - perhaps 'check'?
#120: 
This commit adds the ops chcek to fix the coverity issue.

total: 0 errors, 1 warnings, 8 lines checked

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

end of thread, other threads:[~2023-10-17 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 18:39 |WARNING| pw132737 [PATCH] ethdev: fix flow action async query coverity dpdklab
     [not found] <20231017082317.735106-1-suanmingm@nvidia.com>
2023-10-17  8:25 ` checkpatch

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).