|WARNING| pw132498 [PATCH] crypto/cnxk: fix RISC-V compilation
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Oct 12 06:02:22 CEST 2023
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/132498
_apply patch failure_
Submitter: Tejasree Kondoj <ktejasree at 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
More information about the test-report
mailing list