automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw132498 [PATCH] crypto/cnxk: fix RISC-V compilation
Date: Wed, 11 Oct 2023 21:02:22 -0700 (PDT)	[thread overview]
Message-ID: <65276fce.810a0220.ce5e0.be54SMTPIN_ADDED_MISSING@mx.google.com> (raw)

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

                 reply	other threads:[~2023-10-12  4:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65276fce.810a0220.ce5e0.be54SMTPIN_ADDED_MISSING@mx.google.com \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).