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 C2DF4A0545; Thu, 12 Nov 2020 22:15:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A19BA593A; Thu, 12 Nov 2020 22:15:16 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130082.outbound.protection.outlook.com [40.107.13.82]) by dpdk.org (Postfix) with ESMTP id 6541256A3; Thu, 12 Nov 2020 22:15:14 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvYbhROdjiZYFQtyZ/yM2VD3xks2eP9kTfsi7WiGZUazNb0t4qis1MXxvtSyTcv1rubeFXKz6hT2eUGMKPlkElaooubC1345usdQG3jk/5/bLqdfAejZLS2wihy/G5F5m7Ule3esQdj3efiJaOK6JUMWa3X3ve+QdBMNW/SdqhJfEv4NCanLR4vD2QR+DtsV4L52Uy3Z6+0bWI6wshG3Ui7EoV7912nhdLPGrQLuaD7crY9FU+/HQi458Pt1c0/m2RlWa6CkpH57brpXXg1OZDTZMwt/ABoKfNgyI1p6OB/HkrSDDX/bXBJdbg5wbOGj1jYYNzPRbYUsStENdF7BeA== 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=eP3pTXG5PFuzrU1MVchbDV2X401fAx9grQKD1IJHyLk=; b=eXocY6srdM3x6RbiowFzuNNGOXoEo4EPuEPgVT/RmNowfXdISICYx9++j7bloZQ1x8HCmCp+noJ1MD1SbUZJYpj8kYAalQrVcY8MxfCsmpLEAPBeKGSPCczlw+zB5+9nOJ5FVhRpsDWC1C4hE11s97Ims7B9vtHlf70eGZq8LniRMMDwKbUiMI1Ck24OYp5wOg3XRpinhdtgKz1LCTw5+EXWfLMN7708fWdOkIQuXlxXl9qjD5W+FAYxUpOyGDcTL11qvYvy2rsxFDdrwinQS9ZbECO54aiPHgWswrRsL3xIGKpnKhN22cCu3lPO3fWjQ8QDtk1Vx3P4yCsigcrWgw== 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=eP3pTXG5PFuzrU1MVchbDV2X401fAx9grQKD1IJHyLk=; b=rIFTIhCis9itKRr6FGzHyXQ99y/o3UWUbDGjo9TLx3/RoH+hhqVvmxJejjxsm29sJX0t+kY+2gt2+O305SxglYhqeqC9iBq2ghTBRMEvBpwDykDyqZZkK65YfM2WLIPzaaefVCODxecCE2ujXMnaqgWzrPCyJh6Ax8r5ghqnAfI= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR0401MB2624.eurprd04.prod.outlook.com (2603:10a6:800:58::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.24; Thu, 12 Nov 2020 21:15:12 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3541.025; Thu, 12 Nov 2020 21:15:12 +0000 From: Akhil Goyal To: wangyunjian , "dev@dpdk.org" , "lee.daly@intel.com" CC: "jerry.lilijun@huawei.com" , "xudingke@huawei.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] compress/isal: check allocation in qp setup Thread-Index: AQHWsQxx9DkgIqdR7EaxD4nTvztjjanFD3oA Date: Thu, 12 Nov 2020 21:15:12 +0000 Message-ID: References: <4593dfcc7f70361a80cc1ea3b129f29074588e3d.1604317264.git.wangyunjian@huawei.com> In-Reply-To: <4593dfcc7f70361a80cc1ea3b129f29074588e3d.1604317264.git.wangyunjian@huawei.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [171.50.183.179] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5d57a5e6-15d7-4e53-8808-08d887500b0e x-ms-traffictypediagnostic: VI1PR0401MB2624: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uxeS/9J9Q0fIubvRu0uodlXIvQ4yef+sWIrjaxPF2vbnLcBsKLDS7WkxoNe7b6oTXnJSbAeon1dEU7sxM44ItnZaW2I5V1L/uUaihdMMB2Sgsz4TxZ+ANwwDkGp7ZDIV4uxxftHVZ06vpwzr0Z/ImR7c0ZdwT2+wftoSc9b4hxRdTZK8UH4rEp687vL+xKEPIC9EfM9hpygbxacTcAyqIZpE82WSpgPPEl5YxvEziRxSzAxJPjh0YHpvdLljACrCS4GNM3tvO33yLtuXm/ye4gZFUriShEF+GzGJo6j69aDicMDtGpVBDp3g6W+CnqpM/3yQsdJP90KqU+EAiSBp+A== 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; SFS:(4636009)(39860400002)(366004)(376002)(346002)(396003)(136003)(6506007)(316002)(71200400001)(7696005)(110136005)(33656002)(2906002)(66946007)(66556008)(64756008)(66476007)(76116006)(66446008)(478600001)(44832011)(26005)(5660300002)(4744005)(86362001)(186003)(4326008)(54906003)(8676002)(9686003)(52536014)(8936002)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: wedRH+lGIyuOJd9X0GP8rDh9YwEj/FduYhqr2eqinI1xApNb13fB+JUquHjIe+Usj1ydiKmXHjtTcmlgCAvNXp1hJRD53pDSwDgfkLe+WsVmt8ZF44fhFgikN/QWt8zlInEiQFq1DbbDks1einm9FOFTqRAQ0X+qvOZUzWfOBgl9KIOvEJJkGBJgq7sCsZD4w7AoMM6YVubr04Gih1v+C6kWQj++OCrLAIyj+OEycwGRz7jPirPOpjBLk085CEuvV/poSeFoCaX1Y22zs+IwaC1IT3aemFNm7ysglZcweKGBpM1RZdUoyMb27A/bA1Z5/IuNyfWNUFWkzTZg8vq5LnjH7L+9pdm6DQfCDoxl9uUlfBVS3/XfksEgDh+cJU4DBk+baiPRjiws5Ni6Fd2VXgGvpQZxiApKeDfNTvkuNwcWItQlDdYdUjzIl6w0VkxDsmt5dCbKAOlw/U9HB6hOaKIpW4sKQpw/NJAjIiPGhAzkXu9VLb26DwTwupU/dz/Wq5AG5L8ZCva1Z1QILGk1TWZx0/f+y74qRQBPiNcSO36NehxnUjZrkoLDZmnrJaQ6gEAtdQT9KE4A0BnVZQQTr3iDlkRKFeJXm/rT2Cc1ztW6NMP7s+vGWqmv9Ut6BOnplWNahukxI1X+EVtggtd4b/SCXjKTwFDwa+AMHEHgwJ9S2kyLlAGN7Dqa2uW6bNqA3EyiCexw494LNRvRy0rnUD8GXuX08zTplWr6MwNVttNnxdJHwAX82uNE4bDU2THo8ikj40RjSJj2JxX8hCYw7d/GICoaOVIBKdyWvCi4/4fevKCeL2rdbYp6GCfjMwVwIdDBE+Nht2HsKq8/lFzVzFAMd1aF7r9JnNDly4f8sxt6NakE0sHpg/g6bVk42d2eMubuTwvKf4EsgBav5tjrzA== 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d57a5e6-15d7-4e53-8808-08d887500b0e X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2020 21:15:12.4510 (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: 0p2lUh4fU33MPYf++UjpM68J1Nk2vS2OL/62W4ZZSCw/BFBL4kFgiTFnK+wrHKofUGUHelE1gYTS0/j3HfAGUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2624 Subject: Re: [dpdk-dev] [PATCH] compress/isal: check allocation in qp setup 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" > Subject: [dpdk-dev] [PATCH] compress/isal: check allocation in qp setup >=20 > From: Yunjian Wang >=20 > The function rte_zmalloc() could return NULL, the return value > need to be checked. >=20 > Fixes: dc49e6aa4879 ("compress/isal: add ISA-L compression functionality"= ) > Fixes: 7bf4f0630af6 ("compress/isal: add ISA-L decomp functionality") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yunjian Wang > --- Acks please !!