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| pw113569 [PATCH] net/cnxk: fix segmentation fault in telemetry
Date: Thu, 30 Jun 2022 05:30:56 -0400 (EDT)	[thread overview]
Message-ID: <20220630093056.C9B2BB370@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/113569

_apply patch failure_

Submitter: Usman Tanveer <usman.tanveer@emumba.com>
Date: Thursday, June 30 2022 09:24:22 
Applied on: CommitID:7cac53f205ebd04d8ebd3ee6a9dd84f698d4ada3
Apply patch set 113569 failed:

Checking patch drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c...
error: while searching for:
	uint32_t i;
	int ret;

	port_id = strtoul(params, &end_p, 0);
	if (errno != 0)
		return -EINVAL;

error: patch failed: drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c:229
Applying patch drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c b/drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c	(rejected hunks)
@@ -229,6 +229,9 @@ ethdev_sec_tel_handle_info(const char *cmd __rte_unused, const char *params,
 	uint32_t i;
 	int ret;
 
+	if (params == NULL || strlen(params) == 0 || !isdigit(*params))
+		return -1;
+
 	port_id = strtoul(params, &end_p, 0);
 	if (errno != 0)
 		return -EINVAL;

https://lab.dpdk.org/results/dashboard/patchsets/22864/

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-06-30  9:30 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=20220630093056.C9B2BB370@noxus.dpdklab.iol.unh.edu \
    --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).