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 3322EA0353; Sun, 10 May 2020 00:06:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 475211D680; Sun, 10 May 2020 00:06:17 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) by dpdk.org (Postfix) with ESMTP id 1D2DE1D644 for ; Sun, 10 May 2020 00:06:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ganJiDe0pwKY6bkJ1rzp/X6zbkSklRIhKo6V2SqGkDcE7DJdHswpdYk9j2sXvgpEWjwWkLbSO0mJCC6p8Inw95nk9JHvq/23RN54PUZXz4Ts100v97ZkNdkkDU1SbvgqG5wToz5ykKnBz8h5/mgBGkdgKupPgDFUQtGYbTq0wNO+9fl1ii+EOnIR3CWofzxZWPlitGbkcUAuxEOf6SENbRXl0+tbF6eammMyX0oJJt1oqRz6GIM6FXJJ3B23g7guMxvyIW8SZP85qZv+S0I0XRbFox2pBz9UQVzCmN2hXDwRBRpXlL0WYf8sdEP2rzGvlLXhtw0a/zSlmmtv+vs6QA== 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=XLbpoJKQgbMVHE4t4X5mzk1//oCjPdsw3PvUMzGBEvY=; b=kkKU8/sUFnrxALbuCnNIruGndA+ht3k36WQODWsHBC/xAbwuc/A15EBHz/w7I8/N/eZgIy6TGXsYWfnSQ4NFEWdjRt2vJ7WhBcrGdR36NS1DceqmkRxlac94UzPDBPPTmlK1BpMLF/CsTBNAbF4NAVKKBpsluK+8kKf7QIkVo4wjVdb85u0pQwNGYZzXIq2yAoK13SglX3wJncr1bVjILBwR31e5Z45/Bd4rwTG1zHa1Y/CD82XIg4IMVKX5f1QgGB7I4cW+O34lwHUtVWgyexn4Xzqs5Y9rSuzZCrcvOe/Kn5/SmqiGmpJsgV7uJqL+BrY5sxXcuBIbuD4Xiiu0mw== 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=XLbpoJKQgbMVHE4t4X5mzk1//oCjPdsw3PvUMzGBEvY=; b=mzRWsbLXdyxjdX77slH1N0WW1dqxM/p4a/TMnyOb0mU1SEqGzv3r9R4rnsgFP8X2m+y2yK1wJZLgRJjVBJsplXFTGYzs7H5b5XUHNcnrtEU33OOXMMDQuz4q3mcCD7KF6i2JJmxLoMN+BdGcp4OcQcF2rgybJzPLupb7l8SQZqs= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB5037.eurprd04.prod.outlook.com (2603:10a6:803:57::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Sat, 9 May 2020 22:06:14 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.030; Sat, 9 May 2020 22:06:14 +0000 From: Akhil Goyal To: "Trahe, Fiona" , "Dybkowski, AdamX" , "dev@dpdk.org" Thread-Topic: [PATCH] common/qat: fix coverity issue Thread-Index: AQHWI+2qELeDqnMcyU21SJtMZJAL+qichZKAgAPOKMA= Date: Sat, 9 May 2020 22:06:14 +0000 Message-ID: References: <20200506213107.26569-1-adamx.dybkowski@intel.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f0a90f42-80f7-4975-9301-08d7f4653117 x-ms-traffictypediagnostic: VI1PR04MB5037: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 03982FDC1D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KQoWjz/sygPlAR1vaklK1m9xraYH5ipjORAZaABpc9j3fSewST4qxR7pGMcwnBB2bcYCNTYPasSucV386DL1HP0YSxalJKjfnXX6iuHKZ3rV7VsXwvt/CeRvmtZ2fKPCy1C4invCuS/YiPQEeajBf9D2nNphPLZzHc9rjeTzwBGPhFySAHRauOyWntp0LK5on4ve2+PyMXolRFdH+qLYeL/i67MkjWquFKvpMTDvx+EeplVdEVlLYf5xSmyqykYcN4RFIla+oE3kZo9s5Z5zURZkUe2MG5GJKLt7R4mEV8PlxSVa1Efnq6GZzXmLELx9iGUzYZZhe+OBDAcgVmMCy9v/Xpf1MyF9MGFKN2vI80YcQ+rmpIUasF717kDYhHvOAUR8oTW7wseJXu0suVIBsjELp2uOpDdOr3+lR5jZU9VnX4cTvTXATzqXVEfZqycuAxDIztsjrhHhnYV/e5gLi93uQFgWa6mqejUmSzweOP6gwOwyLXnG50rWyhIuwTNh7EBmcGH6kuzQJPhNUDcjFA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(136003)(346002)(376002)(396003)(33430700001)(66556008)(86362001)(44832011)(52536014)(66446008)(8676002)(33656002)(66946007)(64756008)(66476007)(4744005)(71200400001)(110136005)(8936002)(316002)(478600001)(76116006)(9686003)(33440700001)(186003)(2906002)(55016002)(7696005)(6506007)(5660300002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: TzqJc3Rl5hgOZ8lnPGwg+pfbWRNhaZisE973M/MuUEt88QrLtAdGaVzbULVstTZJPje//ahgcWS9lRPmTjHwENKPy42+EYMoFkvbecMTi2PRoVvxFKMyg6XRpfd3P/LXBFiruhmN3pS67fr3HMu5hj9bv2sMxiyRQHW2fVo4mc67b6mzTdNjmkpSiLB3QlKxrZcACYTynlaL6yx9sOLxScFmeJfVLH2Rpn2LN9+BPgOLltTYOGXo60xSlwX7OmjpR19NENP8H5Z7qjVPZztnarc4zBzDqJxN5KjTXgUqeqJGgAM9P3nOVw3Kq1P7Rrtl9ZjgajEnMuE2vzpB0ebdDYk6DwEoKSNNE6RpMlHv1mR4cnmjfEMi1tWBgX8OtYVBwG1we43H9cXvI0o/4bAihX08CdKPvph9EtFSLbPgax/sOafFe0PseiUDF9oaQBDxJpJ6fLBAXdaCJSjbZja42NxQx9fGq+EUHyPoAHMFVzRPZz68nu/yMcmBzKQFzUTL 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: f0a90f42-80f7-4975-9301-08d7f4653117 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2020 22:06:14.7847 (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: H09rZigdvEc4PexnrcAJWQK3XP//jM1mEXNK931qKGi3xYynJpisu+LSIck3lA4z/EictlibMCedbJ9fnJMVsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5037 Subject: Re: [dpdk-dev] [PATCH] common/qat: fix coverity issue 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" > > This patch fixes Coverity issue #357770 by removing the non-essential > > check for NULL pointer. > > > > Fixes: c13cecf60f12 ("compress/qat: support IM buffer too small operati= on") > > > > Signed-off-by: Adam Dybkowski > Acked-by: Fiona Trahe The title should showcase the actual issue fixed and not the coverity issue Changed the title as " common/qat: remove redundant check" Applied to dpdk-next-crypto Thanks.