|WARNING| pw122433 [PATCH] [v1, 1/1] baseband/acc: fix check after deref and dead code
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Fri Jan 20 22:08:12 CET 2023
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/122433
_apply patch failure_
Submitter: Hernan Vargas <hernan.vargas at 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
More information about the test-report
mailing list