automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw113569 [PATCH] net/cnxk: fix segmentation fault in telemetry
@ 2022-06-30  9:30 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-06-30  9:30 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-30  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  9:30 |WARNING| pw113569 [PATCH] net/cnxk: fix segmentation fault in telemetry 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).