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 C3FA7A046B for ; Fri, 26 Jul 2019 15:59:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 01BC01C48E; Fri, 26 Jul 2019 15:59:10 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80059.outbound.protection.outlook.com [40.107.8.59]) by dpdk.org (Postfix) with ESMTP id 10E5B1C48A for ; Fri, 26 Jul 2019 15:59:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dn0P/Cv0BL505t3DqCIzASWi7hAGtDu+4+CBZNCZcZrmvHyS0KoPFBn90sUNACxdUm6eeA0c+MKBAJ9wP3yo1WCzGR+M7Ay6s/VY1prX44ZjpEg8+BJgJRqrQ2UOivOdwH+Ppt4WnZx4D23FgWZ2vS8RqtYppxvIUQ1QVTnh0xrgFGwUX0DPio03591nJ179CqV6kGcYOmRJXQhVJrv0jyW6t3/ys4OqwxKLHKtzp/Y+IlX93KXyJkdIOwwQeZNsHYadLBpUNxVQf87rgWypFdjI3ZGasZgvmfB2voUE6szMk5eqgTJ+aGgnhBLgs84Ip+Gqwb6TMfxMsL8EiWUNlA== 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=58OBQkdt83q8sQnWQlG+GcWEWYoxFu1O6xnAP4d8e3s=; b=NKzPNcpJFa1IjO3QMcGZDBgnCCbBxueMq2g4q83Lmv173eEG3RHxFO82sFt4bzx3sxFtZKrQi/PtJYBH85OaL5f9QEMnqssb1Sv31Gyl7MpKZmLcZ7IMhu0vL2G9G4GaaZCGJcZvXCGCv77bJ5AiVxvyLKJHm6H1h0kMDmvgfbgEVr1Mydp/lVRcWSPk3MB6u+Pp6n2Y2GU9tpTma8ca+KU54tYYtyFX4KZxMIbnCK5/O0LNqZ8jBdRdVlx70b2WXcopMh9DlmMs3d9t8NwIRA93LEAoRSHaZC2OHc/3DTXCQnQ/PtXguQ1rABRBXyFIqpx0rOemeU6VAo/5cylSsg== 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=58OBQkdt83q8sQnWQlG+GcWEWYoxFu1O6xnAP4d8e3s=; b=EHoI6L/iyHf5BRVF4YGCVVb5281ZHNOpBpW6wBV6dVl9tXh41C6v/kBTP7EpwP+pDqOKm2FIBbkyu/Cv4KnV+VRNm70qXVbkmT/UxVnvTDXKcm5NBAUSRBQYdl8wwWtlhzPIHKIaUJEuHpBq1IEZEgRzADJv0kH83xE+xsN1G/g= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6525.eurprd04.prod.outlook.com (20.179.233.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.14; Fri, 26 Jul 2019 13:59:06 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::964:4ddc:346b:e2ec]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::964:4ddc:346b:e2ec%7]) with mapi id 15.20.2115.005; Fri, 26 Jul 2019 13:59:06 +0000 From: Akhil Goyal To: Adam Dybkowski , "dev@dpdk.org" , "fiona.trahe@intel.com" , "shally.verma@caviumnetworks.com" , Sunila Sahu Thread-Topic: [dpdk-dev] [PATCH] compress/zlib: fix coverity warning Thread-Index: AQHVQfxc+uUqkVuk8kiEvXWN/prA96bc8GwQ Date: Fri, 26 Jul 2019 13:59:06 +0000 Message-ID: References: <20190724084246.5768-1-adamx.dybkowski@intel.com> In-Reply-To: <20190724084246.5768-1-adamx.dybkowski@intel.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.0.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5d45a84a-ad62-435c-1a83-08d711d16c7b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6525; x-ms-traffictypediagnostic: VE1PR04MB6525: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 01106E96F6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(136003)(366004)(376002)(199004)(189003)(6506007)(9686003)(26005)(55016002)(316002)(81156014)(2501003)(8936002)(81166006)(53936002)(68736007)(74316002)(305945005)(66556008)(64756008)(256004)(102836004)(7736002)(3846002)(52536014)(6116002)(229853002)(66476007)(11346002)(66446008)(76116006)(8676002)(186003)(5660300002)(4744005)(66946007)(478600001)(486006)(446003)(86362001)(110136005)(33656002)(7696005)(25786009)(76176011)(6436002)(44832011)(2906002)(66066001)(6246003)(14454004)(2201001)(99286004)(71200400001)(71190400001)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6525; 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-message-info: k1EdkaVP7ZMhJkNK6erRQ0nAssCy99ejxEXlylhRglDKo0C9m6c0hZLr5pmuBNhox42l1Q4bMMkudqz4IJ1G3U/NL87LxeZyayqQh95OOnyRKr3YTkl0+/dM8KMH+jWVUquOc9VH0r7wPLRuJ6zh9U+LT3yGZ8X4J6684t59W94cCMLiuzNMzdslnNELCxWivstycHeDT/lA8vZ30axPMULcB4DGofKh3hfreMGLXkMe8vTgeroWZQG+oKgCuG/eXbWvqEJSNuToIhQJ8DI33v1VrGUmujrQ37Hw79JdDEAUE3AFmrby+Jn2R9GvvCjF7QPaD1oMJlMojlyHq3DbJ0Y3Is8aAotPyWpYjgrEjF7QZ4CfH34jVsjHd3R6xkwtUNjFRmSgEd0UrI9spOCkT+1M1Abb+NmyqhkW5Gux2bw= 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: 5d45a84a-ad62-435c-1a83-08d711d16c7b X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2019 13:59:06.0989 (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: akhil.goyal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6525 Subject: Re: [dpdk-dev] [PATCH] compress/zlib: fix coverity warning 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" > Add missing return after setting the error status in case of > invalid flush_flag in the operation. > The issue was found by the coverity scan as the fin_flush variable, > not initialized in such case, was used later in the flow. >=20 > CID 340859: Uninitialized variables (UNINIT) >=20 > Fixes: c7b436ec95fd ("compress/zlib: support burst enqueue/dequeue") >=20 > Signed-off-by: Adam Dybkowski > --- Applied to dpdk-next-crypto Thanks.