From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0058.outbound.protection.outlook.com [104.47.37.58]) by dpdk.org (Postfix) with ESMTP id F0169A496; Tue, 20 Feb 2018 18:17:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UBE9dYVXorckPOFRKi0zPdb7OHPfcLCerE3p/kOzVVk=; b=b80HyfCISETqXlU9DYIxi8QqDQ8LqhdhDc1p2QIxy0bW8tUCZhbQ5dbXWK/cEZe9Wr9ptzO64P7fxzF2OE/uPcDAM35oTP+UQkn3dozgbmdyaIeoHKRxKAlzcjpJctCQKlm69I2t18bLSPOHtrVWSnX3YhzO2+IWHjwracot8R0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from santosh-Latitude-5580.caveonetworks.com (103.76.56.167) by BLUPR0701MB1889.namprd07.prod.outlook.com (2a01:111:e400:5165::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Tue, 20 Feb 2018 17:17:15 +0000 From: Santosh Shukla To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com, Santosh Shukla , stable@dpdk.org Date: Tue, 20 Feb 2018 22:44:16 +0530 Message-Id: <1519146856-10748-2-git-send-email-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519146856-10748-1-git-send-email-santosh.shukla@caviumnetworks.com> References: <1519146856-10748-1-git-send-email-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [103.76.56.167] X-ClientProxiedBy: PN1PR0101CA0030.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::16) To BLUPR0701MB1889.namprd07.prod.outlook.com (2a01:111:e400:5165::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 00ced638-56d0-4d8d-ac72-08d57885ca73 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BLUPR0701MB1889; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1889; 3:xsqf5bJdzZBgmoeF/SreoKE/xvBcAUGcG9EKOi7FHVUbfhEzsbegaFdi6n6ozHuJniVZd4EhF81LZq2UJW2GwP2RXxp5yPtvd3HeQsnFjydCp5b8vlA8G4UBJSaJRHBwIRxq3SDBuYzAXHJ9mNpQrm6sVCMGi2OMIu1A7MJbqHbLfGaWWvRjHAXBf2n6hm/sdshE4H/pwreAag6MECTk0Q+hi21YP/UW+g3DtX/P2arP6IXpqUamNXenPgqEuz6f; 25:74ceZG3de0cvuuTSTDFf13/wT2ECcOuQI3L++y+1fthw5KdvwINibnBz6Hk3nflwhqdT8/7qpZN5nO+UKqClVkPs6JH9/VuY3wTA8MoIMKXaYWpCK6/MbUv2mTOAbm/K3jE1eT77P913bdumXdYPw7gkosoFMLsj7a5OZfdyTXBF7XGqopNEqd+0bjm4hK1cKIQMpVQlVp2CYhKYTnH4uTfj7WRPf+293eGn2lrD1YJdbUvH6jTnRNkuh9o7wA/eFtQVk3FaHlBY+tvtfOP5ME168Lyz/6sB3jliM3wNH5sp4xe88+1XW8DwgFKb/KmCFPoUT95nc8yBy74tbgNVPg==; 31:zPUXCW5cfDdPw29FpgLiBFymBGFWVfZ/COI6CS+wJ1AkMUvKIjvwXi6faPSOtVkLX6HEd85ewaNfnlV7zDIeI0NE/7R3+DCePqsmLnTF4dHONIIOCk1pM8tp/BazCZ+wYPM9FEzL2FaXVhmhE78P5qcRIwlXj3TqSSFuvjsESz3deLFXDWO5BkWTEp/Yx3K3l2DnN4C4fjz7ZIGh1zxLFxOGHLyCZU6MrIQ4SEe4hcc= X-MS-TrafficTypeDiagnostic: BLUPR0701MB1889: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1889; 20:QsLLB9T+v9+SXlx9lbaqi1LyX4UxjoQhVSdTyOLLSDTlu9HZqI7iRdCxwAxwCbYZuLr1a3oIBPwhQsPMbjiQvxWt2InlHVQW17xzTiIeN2P6Ppxy2zgbV1En8BWmp9W1f3d1gh5qfvTaNZG+rO3p1g/w9AlqAXYkH4q2pj/P0tRLLjhLHZGZLaGlmYQzoltRofqAbW8Fo8Xi57f8QzgocYYAPhaKuDeW0F04ErYTjkXua0hRrHSm9q3mqUpwMNj/vByixoNGRvde03iMDHNOQDkIclA//L4LJyQMC0dPK+5cYFISTntBpDEzjx3BZc3+dzaI4+5gDODzrT3E3BS3iGzqvO3qCVdU6n6eQW4mngOavatboGr6zEi0KOwijzZi+T/HOAOWBGLdjmpbJz6npKevce2IZukctU2SW5QknC1HccE8bG7KtCirI5XiuVNERWtgaQQYU2z/dKQc9zDLJhcs66J3SLTZdPtHNP24f2r8II1sYH2G5JPCvTli5lwxmTtIRj0j7WOswfPdVOuO1YPA2nDH7ND33fwrMEsfRQLoW9hCSV1t8AGt9xYjyrYcMM2JsrZVjVzkdIy9DqrZ2DTsKv2B1pE5Ua8ekHjoLhs=; 4:t0ybaEHTDhDxS+mpPEqbzHUWVLQWj36hKY1/p4HXSRYwgdoPKW1AlaK8ia17yrJcHOvmjlivFlfQcvwiQKzrAgsWNlw/xu8P5HywdMobEBnMwrxhe18oVmWyqhXE1u2JMwkOKTqLXlRSF1ztZZDXZHIOx9DzteUpT8PV1y20KuVsaNq7izfDdXnsa+G5DuvscTM4zGpQW8BzOML4ad66pfdUs4nsque3OFQhcOijWpn4tGhLW+D/CtP4kADUV2rI0DDKakieh3mKHxg8gRL2Cg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001056)(6040501)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3231101)(944501161)(3002001)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:BLUPR0701MB1889; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1889; X-Forefront-PRVS: 05891FB07F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39860400002)(39380400002)(396003)(376002)(199004)(189003)(53416004)(105586002)(305945005)(7736002)(97736004)(68736007)(6116002)(2351001)(3846002)(2361001)(106356001)(6506007)(59450400001)(386003)(48376002)(6486002)(50466002)(450100002)(4326008)(52116002)(51416003)(25786009)(47776003)(8936002)(76176011)(66066001)(478600001)(50226002)(6512007)(81166006)(72206003)(81156014)(36756003)(8676002)(2906002)(26005)(2950100002)(69596002)(5660300001)(6916009)(186003)(316002)(42882006)(16586007)(16526019)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1889; H:santosh-Latitude-5580.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1889; 23:ByGt7JXuJ+41yYKpSXpRV3EHqjvWPBC8ejl8XxZ?= =?us-ascii?Q?gBmAl/zJx2bb9Ga2JoVm/EWw2MS7NSbFGpJz+TmeAuU1IWidXysmKD1VSaP6?= =?us-ascii?Q?FZ32uN8oiyhn8u2eg+kkW54EAa0iPPDRuLi/aM/N8ypN83kthDej54+Hdsy/?= =?us-ascii?Q?fYUX/BTaAy/W7aSDkztCOVd0SBYeMI2QDLefCatjdSUELNXG7fR/UD9XEoi7?= =?us-ascii?Q?SmZ+SfwLJiy07hKeJTSon2+eUwen/ayQprT0XT24Tlxh2awQjlB5Uh2WrlZC?= =?us-ascii?Q?rUWfEX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nosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2018 17:17:15.3479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 00ced638-56d0-4d8d-ac72-08d57885ca73 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1889 Subject: [dpdk-dev] [PATCH v1 2/2] net/octeontx: fix for uninitialized scalar var X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 17:17:18 -0000 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Coverity issue: 195045 Cc: stable@dpdk.org Signed-off-by: Santosh Shukla --- 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 0d8937c..f2893fa 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.7.4