From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 79C9FA00E6 for ; Mon, 5 Aug 2019 18:48:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5420A1BD66; Mon, 5 Aug 2019 18:48:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6CCDD1BD62 for ; Mon, 5 Aug 2019 18:48:31 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x75GkJSd026596; Mon, 5 Aug 2019 09:48:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=NjP1KsA9OfZqOt9mFQy7CqHybfvpY1ojUCKsp3cCAZg=; b=F5hDJa7oFv9bF6h4vaeSARa+GZQsz4UUopsIpDTD/RzZCM9qhLUt4WdngE0BbuQE1m50 CxFCYFV1aU5c18QZu1NckClU2zE1bLuIQ/m+WwVjVv5d08Wu4XhlBU3BmImmwmKLkvSd BwOqCAKWpv04NiR6hOlXUy2lg9EWzz7OUHP5Yj+N9hsZjLvMOaSFQ4EDfVnCOzgCDuwc K9ya5wXMlCzPvVOsZPEJBS7U6Rya9Ws850Y2+QWm0FFmc1J+9Dd4Y0xSq+FfZAAgCWaG 3KEqu2gRn4wcYRyqs+zahl5/DzbfB9ySqoWisfGG2VVE0TfvG/OAIH838G6TmhwNQiln lw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2u59skq1tv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 05 Aug 2019 09:48:30 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 5 Aug 2019 09:48:27 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.54) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 5 Aug 2019 09:48:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c2my7x/ZF1o3k6cmE4yu8Mw7bgJkOLhJfU8DsEzdRxG9CyxHz0DcX7qGIJe4A1aZRb9RH6nCwghkgK6LdUJ7GNttRUlkI/2omqxExn4MkPO8dmNQVmcADljQ8ZFCMYPuOL+KUEty40RI+dFFCCZEaBz+EpfqQI4wl9Zwg/0MdgloSpZTo2tBZRP2x4xM5ha1NJKMhh5I3Klw49U5p5q/v6Cct2n/L7lZaAQ73MRTeKV9Wyvc+fLs4AABwBTio91arwl9Z9pEnjOFXaowz+nGY9SUScm86kShWhA82sdX6fO7CBgd203R9Gko/boZU3a4zkQgykKUfgO86Z0cWZgXZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NjP1KsA9OfZqOt9mFQy7CqHybfvpY1ojUCKsp3cCAZg=; b=TQ8iT/3KuJ8gCuWg6+GNAZaKJdyXgitO9Vmfglzx4gNCyS7fBiVqoqjvZng3H+IBpWYcLH6qzu77AwEXw5nhrqx3plQVe25/Y1vzSZfBlWO3d18uwmHBv2geZq8LlHj3kHCxws2WzQ7brWopn4WL9lmDp+1gcoMZuo5R9NfMxyLaJxS4qxKm+0bCDZSERg+mhgZvgRoSZk/Rwf2A5zPTwurwP8+T6Ee9MAp0a77XyEtDl8/oFqaWpCz+ONTqPz5Eq6jT0WuMMKw2lXe6ctmIphrozZQScT7W68u5QIRmu/2VFDzqHbgrXAT5awkcuPPYTOnLBShO1nFqjziYq386MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NjP1KsA9OfZqOt9mFQy7CqHybfvpY1ojUCKsp3cCAZg=; b=WxvOHzN8+aVvsyRxy4LC/fOuGJyZ0CLhlvgqAMeEKF5YeE1dyqAjOGDhxJbogjtHzsxenGLxgxeUIK6ZAFJ0SKdFf7V3QTlGAScupvgNTtinxCLKM5BrsXDt/Ph9X5h1fq9pJ6+kgvzbwAG4ps1Sknk554O8T3AjZli5LmbyJYc= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2600.namprd18.prod.outlook.com (20.179.94.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.13; Mon, 5 Aug 2019 16:48:22 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013%3]) with mapi id 15.20.2136.018; Mon, 5 Aug 2019 16:48:22 +0000 From: Jerin Jacob Kollanukkaran To: Jerin Jacob Kollanukkaran , Harman Kalra , Nithin Kumar Dabilpuram , Vamsi Krishna Attunuru , Kiran Kumar Kokkilagadda CC: "dev@dpdk.org" , "thomas@monjalon.net" Thread-Topic: [PATCH] drivers/octeontx2: fix coverity issues Thread-Index: AQHVSpUlhGe/9LHxDk616iQ+gX/YCabr8JEAgADVWkA= Date: Mon, 5 Aug 2019 16:48:22 +0000 Message-ID: References: <1564903224-16945-1-git-send-email-hkalra@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [171.61.87.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e59633e-0e5a-4b71-c659-08d719c4ba18 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2600; x-ms-traffictypediagnostic: BYAPR18MB2600: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:312; x-forefront-prvs: 01208B1E18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(366004)(136003)(376002)(346002)(13464003)(189003)(199004)(55016002)(74316002)(14454004)(14444005)(4326008)(26005)(486006)(186003)(11346002)(256004)(110136005)(476003)(54906003)(68736007)(478600001)(53546011)(86362001)(6506007)(76176011)(6246003)(316002)(25786009)(446003)(99286004)(7696005)(102836004)(6116002)(3846002)(7736002)(8936002)(2906002)(66066001)(229853002)(66946007)(66476007)(66556008)(8676002)(64756008)(66446008)(52536014)(6436002)(9686003)(305945005)(2940100002)(33656002)(81156014)(81166006)(71200400001)(5660300002)(6636002)(71190400001)(53936002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2600; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: L9V3G1SftsElOI1GpU1WnrEXS8c+warnDXv7XTBKP1j7RqMxGn3SfoR+7UsfaKs2sVjKvwC7e6kW5OE/r1ZZh1iqJqMAi0JgXGoXgj7bnWEuBSTEAWYIkrhJc0XxNhNYJbFL4uV+0ny0ROU2BZTfxecDxQtfGmTGd4UroCYcRNf03mvdwaLdRVh+AXKxUkygjL0UXd5Gef1qRao6sVDu5LyJeuaPXKnSL9Nzv96SkQd54QNoDUK7FfgX6GDs+DQnHEvk2PUg49bi7VdPOaNY8L5RG2aFq5jp+/UFBcFQyIVfooZeE5yL6u2JqcvzNDBXAw18UDkaUyemDYoSnuC0M9FxYG3TyXeJFOOgazfW0oj5Cap1lMFBy2KGqexHq8Yb/fLZTcwwDCIqGSnOLS6Qi07XjwdBkc6htUfI/H4G0uo= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5e59633e-0e5a-4b71-c659-08d719c4ba18 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2019 16:48:22.0935 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2600 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-05_08:2019-07-31,2019-08-05 signatures=0 Subject: Re: [dpdk-dev] [PATCH] drivers/octeontx2: fix coverity issues 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Jerin Jacob Kollanukkaran > Sent: Monday, August 5, 2019 9:35 AM > To: Harman Kalra ; Nithin Kumar Dabilpuram > ; Vamsi Krishna Attunuru > ; Kiran Kumar Kokkilagadda > > Cc: dev@dpdk.org; thomas@monjalon.net > Subject: Re: [dpdk-dev] [PATCH] drivers/octeontx2: fix coverity issues >=20 >=20 >=20 > > -----Original Message----- > > From: Harman Kalra > > Sent: Sunday, August 4, 2019 12:51 PM > > To: Jerin Jacob Kollanukkaran ; Nithin Kumar > > Dabilpuram ; Vamsi Krishna Attunuru > > ; Kiran Kumar Kokkilagadda > > > > Cc: dev@dpdk.org; Harman Kalra > > Subject: [PATCH] drivers/octeontx2: fix coverity issues > > > > Addresed issues reported by coverity: NULL pointer dereferencing > > issues, unchecked return value, uinitialized scalar value, probable > > deadcode cases, unintended sign extension, bad bit shift operation, > > Wrong sizeof argument > > (SIZEOF_MISMATCH) > > > > Coverity issue: 343396, 345028, 344977, 345015, 345025, 344969, > > Coverity > > issue: 345014, 344966, 343437, 344993, 345007, 344988, Coverity issue: > > 343405, 344999, 345003 > > > > Fixes: 58f6f93c34c1 ("net/octeontx2: add module EEPROM dump") > > Fixes: 38f566280abb ("net/octeontx2: add link stats operations") > > Fixes: b5dc3140448e ("net/octeontx2: support base PTP") > > Fixes: ba1b3b081edf ("net/octeontx2: support VLAN offloads") > > Fixes: 092b38341859 ("net/octeontx2: add flow init and fini") > > Fixes: 3da1b85b6d06 ("common/octeontx2: add FLR IRQ handler") > > Fixes: 2548ab774f92 ("mempool/octeontx2: add context dump support") > > Fixes: 2b71657c8660 ("common/octeontx2: add mbox request and > response > > definition") > > > > Signed-off-by: Harman Kalra >=20 > Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/master. Thanks