* |WARNING| pw122433 [PATCH] [v1, 1/1] baseband/acc: fix check after deref and dead code
@ 2023-01-20 21:08 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-01-20 21:08 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/122433
_apply patch failure_
Submitter: Hernan Vargas <hernan.vargas@intel.com>
Date: Friday, January 20 2023 20:55:53
Applied on: CommitID:2a211079a92e962bbd0ec81e425a6ffc32890e67
Apply patch set 122433 failed:
Checking patch drivers/baseband/acc/rte_acc100_pmd.c...
error: while searching for:
int ret, cbm;
struct rte_bbdev_enc_op *op;
if (q == NULL)
return 0;
#ifdef RTE_LIBRTE_BBDEV_DEBUG
if (unlikely(ops == 0))
return 0;
#endif
op = acc_op_tail(q, 0);
if (unlikely(ops == NULL || op == NULL))
return 0;
error: patch failed: drivers/baseband/acc/rte_acc100_pmd.c:4106
Applying patch drivers/baseband/acc/rte_acc100_pmd.c with 1 reject...
Rejected hunk #1.
diff a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c (rejected hunks)
@@ -4106,12 +4106,9 @@ acc100_dequeue_ldpc_enc(struct rte_bbdev_queue_data *q_data,
int ret, cbm;
struct rte_bbdev_enc_op *op;
- if (q == NULL)
- return 0;
-#ifdef RTE_LIBRTE_BBDEV_DEBUG
- if (unlikely(ops == 0))
+ if (avail == 0)
return 0;
-#endif
+
op = acc_op_tail(q, 0);
if (unlikely(ops == NULL || op == NULL))
return 0;
https://lab.dpdk.org/results/dashboard/patchsets/25055/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-20 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20 21:08 |WARNING| pw122433 [PATCH] [v1, 1/1] baseband/acc: fix check after deref and dead code 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).