[dpdk-stable] patch 'net/octeontx: fix uninitialized variable in port open' has been queued to stable release 18.02.2
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Apr 30 16:03:24 CEST 2018
Hi,
FYI, your patch has been queued to stable release 18.02.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/02/18. So please
shout if anyone has objections.
Thanks.
Luca Boccassi
---
>From df4802afe8d7e51df6c7733255400180c94c3930 Mon Sep 17 00:00:00 2001
From: Santosh Shukla <santosh.shukla at caviumnetworks.com>
Date: Tue, 20 Feb 2018 22:44:16 +0530
Subject: [PATCH] net/octeontx: fix uninitialized variable in port open
[ upstream commit a371fd7903f99753d535b31dbad2adcc33dcdd5c ]
Coverity issue: 195045
Fixes: f18b146c498d ("net/octeontx: create ethdev ports")
Signed-off-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>
---
drivers/net/octeontx/octeontx_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c
index 0d8937cc2..f2893faa9 100644
--- a/drivers/net/octeontx/octeontx_ethdev.c
+++ b/drivers/net/octeontx/octeontx_ethdev.c
@@ -122,7 +122,7 @@ octeontx_port_open(struct octeontx_nic *nic)
int res;
res = 0;
-
+ memset(&bgx_port_conf, 0x0, sizeof(bgx_port_conf));
PMD_INIT_FUNC_TRACE();
res = octeontx_bgx_port_open(nic->port_id, &bgx_port_conf);
--
2.14.2
More information about the stable
mailing list