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 DB094A0556; Thu, 20 Feb 2020 12:07:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B17721C002; Thu, 20 Feb 2020 12:07:59 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130059.outbound.protection.outlook.com [40.107.13.59]) by dpdk.org (Postfix) with ESMTP id 863581C002 for ; Thu, 20 Feb 2020 12:07:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KEH5DqyMT/tN4PPRtkfCTEaGOalVDyvYRvHT48xuIjpRQStWLkhgEhUryHR4VeX3c93NO9YRPaLWYJLFvDDKr7mG0B5WyHPeIyEm6FGWfc3LvKhVGtvWGAWXob5OCpMjO0gnm/mIuw2gBl8VOQ48ipA/asJ3Dtn9mr5860d1MHVvSPCStBmrNDkGwbKNASaNilfSdyvhvelnLiqZacjCJKL+hGPWB5mdasdZlW4oTR+vswlOy2t4huiA/etdmLRsqATqDP9OiXZUfM73eTcZCXwtCHiMqH7y6TSDRdAqOJRliwXJ4/AIRu03bFNbGbQjU5peZJoMmFif8LsnTEwlig== 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=o/2tfCFIhxgKHC/+EYmQUI8xf4x07JpdLJOYA0+2RWw=; b=aam6OJyFINU/wuO3iJoMQkvaPsgLKYQ6rluwagdjVZO1T9Om1vqO856/ZK8BI1/cREnHjU0IO8rRTkx2s6tl5BP66rM59L4Oj2gnw0Lh9H8a67vJHGxTmvb42bzINkK5vdafB/f4scvlqTRcBTYR7RjNOtfAuDnq3bdLugP+plywtt+cPH0NjPx3zCo3Y1K6/sdivK97qMRhAIhz6Kdw7+Z+ITkSkt1V4TJrdHaO1Abz3I5tRSazoYdQXP7gjFlGDKoWItpo4Rz9sIURkdA4/gAqdPAdSixcT5LFQtDmi+MFYCmJJxCu5uOi8nlO5IH+wT9zh0+3qazL/gUwqb8Nqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o/2tfCFIhxgKHC/+EYmQUI8xf4x07JpdLJOYA0+2RWw=; b=dVRNwBmAZIL5n8s5NHaoEr1i1cpDW8X32CyCgh9aOZSUWd6Xs3QuloxqF+WWWFfLPvnfbLa4shYMA+SPuE0VcjJqrLiXuuhru8hFL3g28y2GokPTF9e+PjwysiMJckW4MKMir7CgrDeCRku45f7DBNuwC8odOfDc195wKizNtYg= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6494.eurprd04.prod.outlook.com (20.179.235.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Thu, 20 Feb 2020 11:07:57 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2729.032; Thu, 20 Feb 2020 11:07:57 +0000 From: Akhil Goyal To: Nagadheeraj Rottela , Thomas Monjalon CC: "dev@dpdk.org" , "jsrikanth@marvell.com" Thread-Topic: [PATCH] crypto/nitrox: fix coverity defects Thread-Index: AQHV592QLnCfQYU5aEankGsxSeUZZqgj7Agw Date: Thu, 20 Feb 2020 11:07:57 +0000 Message-ID: References: <20200220110431.30074-1-rnagadheeraj@marvell.com> In-Reply-To: <20200220110431.30074-1-rnagadheeraj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.69] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6ab902a7-f841-4b5b-9305-08d7b5f52455 x-ms-traffictypediagnostic: VE1PR04MB6494: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:854; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(199004)(189003)(4326008)(8676002)(7696005)(8936002)(86362001)(71200400001)(55016002)(9686003)(4744005)(81166006)(478600001)(81156014)(33656002)(2906002)(5660300002)(76116006)(66446008)(64756008)(110136005)(66946007)(66476007)(66556008)(316002)(6506007)(44832011)(52536014)(26005)(186003)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6494; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 04mJ6lD4dCgt8XQQkssB651lR8xN5MWvZCeuB3TUy5N13MhdYWZmap1wneGDYFSVgb10jdV8RtLCj6nZ9Gf5Np89AL+ZDphjxHAe2dMsaE68Cqsg97+XLJ6CB7HhKx4DCeNDg5mXu+f9pkOzaGHstqyacrXX+DbSyV27F/i3WzRvCTs7wrp/tmk4UvQRajui5GnsT16E4tnmLVrfAPjCJzv7kAeEATc+t193NRpqONTQwFfOOlIDVVpyFL82OoK9TkFmFaB92R7FB9QVWik1FWbdUBDS08KbItLTWABm2tSjLjyt4M3pG3T+R5/7gmktnCmOS/XoFJ/98jpSvVFiGmVpbVXnWaCaJtuSr/BZKD9z/QjzwTzVZwMSx+kLB3R+SQl0wcNW+zhKxWfSLcVjn/UM4hVECNI0Vqv1YGQt/Mavb36HUDFrKZ5SBKtJQcPO x-ms-exchange-antispam-messagedata: VH2kJ+QAA+5VXBmxqOqAKfcRgor0lLjvcRhmEWLccpW7L2W1GcmaOOsRDrA4NRcaFsgWfvXxDGa/ZHGXU1kb7GypVwhVygL7hwL2gS9ARVEITE/83kWmDUWhgF62mFz9kJ2N5nI+6AX5EgppZAowcA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ab902a7-f841-4b5b-9305-08d7b5f52455 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 11:07:57.6088 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WPZNiBSjU0wHYrI75nCntx22ulfDnD8TFuoivVrqrks9sEUHdbrboJ316YScGmaPQKG5HG66serYrpxKt65XXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6494 Subject: Re: [dpdk-dev] [PATCH] crypto/nitrox: fix coverity defects 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" >=20 > Address the defects reported by coverity: Unintended sign extension > and Out-of-bounds access. >=20 > Coverity issue: 349899, 349905, 349911, 349921, 349923, 349926 >=20 > Fixes: 32e4930d5a3b ("crypto/nitrox: add hardware queue management") > Fixes: 9fdef0cc2385 ("crypto/nitrox: create symmetric cryptodev") >=20 > Signed-off-by: Nagadheeraj Rottela > --- Thomas, Can you take this directly on master. Thanks, Akhil