* |WARNING| pw132498 [PATCH] crypto/cnxk: fix RISC-V compilation
@ 2023-10-12 4:02 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-10-12 4:02 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/132498
_apply patch failure_
Submitter: Tejasree Kondoj <ktejasree@marvell.com>
Date: Wednesday, October 11 2023 07:18:25
Applied on: CommitID:92d74810cbdc4c04045d6a47dc3d867f1fa22de1
Apply patch set 132498 failed:
Checking patch drivers/crypto/cnxk/cnxk_se.h...
error: while searching for:
cpt_inst_w4.s.param2 = auth_data_len;
inst->w4.u64 = cpt_inst_w4.u64;
if (is_sg_ver2)
sg2_inst_prep(params, inst, offset_ctrl, iv_s, iv_len, 0, 0, inputlen, outputlen, 0,
req_flags, 0, 0);
error: patch failed: drivers/crypto/cnxk/cnxk_se.h:1834
error: while searching for:
}
inst->w4.u64 = cpt_inst_w4.u64;
if (is_sg_ver2)
sg2_inst_prep(params, inst, offset_ctrl, params->iv_buf, iv_len, 0, 0, inputlen,
outputlen, 0, 0, 0, 1);
error: patch failed: drivers/crypto/cnxk/cnxk_se.h:1890
Applying patch drivers/crypto/cnxk/cnxk_se.h with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h (rejected hunks)
@@ -1834,6 +1834,10 @@ cpt_kasumi_enc_prep(uint32_t req_flags, uint64_t d_offs, uint64_t d_lens,
cpt_inst_w4.s.param2 = auth_data_len;
inst->w4.u64 = cpt_inst_w4.u64;
+
+ if (unlikely(iv_s == NULL))
+ return -1;
+
if (is_sg_ver2)
sg2_inst_prep(params, inst, offset_ctrl, iv_s, iv_len, 0, 0, inputlen, outputlen, 0,
req_flags, 0, 0);
@@ -1890,6 +1894,10 @@ cpt_kasumi_dec_prep(uint64_t d_offs, uint64_t d_lens, struct roc_se_fc_params *p
}
inst->w4.u64 = cpt_inst_w4.u64;
+
+ if (unlikely(params->iv_buf == NULL))
+ return -1;
+
if (is_sg_ver2)
sg2_inst_prep(params, inst, offset_ctrl, params->iv_buf, iv_len, 0, 0, inputlen,
outputlen, 0, 0, 0, 1);
https://lab.dpdk.org/results/dashboard/patchsets/27901/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-12 4:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 4:02 |WARNING| pw132498 [PATCH] crypto/cnxk: fix RISC-V compilation 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).