From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id BB5731B2AE for ; Tue, 8 Jan 2019 15:58:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2019 06:58:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,454,1539673200"; d="scan'208";a="116449309" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga003.jf.intel.com with ESMTP; 08 Jan 2019 06:58:41 -0800 Received: from irsmsx112.ger.corp.intel.com ([169.254.1.84]) by IRSMSX153.ger.corp.intel.com ([169.254.9.115]) with mapi id 14.03.0415.000; Tue, 8 Jan 2019 14:58:40 +0000 From: "De Lara Guarch, Pablo" To: "Daly, Lee" , "akhil.goyal@nxp.com" CC: "dev@dpdk.org" , "Varghese, Vipin" , "Daly, Lee" Thread-Topic: [dpdk-dev] [PATCH v6 1/2] test/compress: add checksum tests Thread-Index: AQHUpz0YAYXbkd0NU0SzHd9h3GYxYKWldk9w Date: Tue, 8 Jan 2019 14:58:39 +0000 Message-ID: References: <1545234488-86585-1-git-send-email-lee.daly@intel.com> <1546943360-48851-1-git-send-email-lee.daly@intel.com> In-Reply-To: <1546943360-48851-1-git-send-email-lee.daly@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjQ1OTliYWYtOGMxYi00MDIyLWJjMDMtOWVlOTI0ZjBkMDhhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMWVERnlJTGNcL3RqM1ZQUUViK1JJakRkb2RUaGYzdjhUeDFyU3B4QUI3WUkwVGpxZDhKTGdtdlZLMjZnVDh1Mk0ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 1/2] test/compress: add checksum tests 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: , X-List-Received-Date: Tue, 08 Jan 2019 14:58:44 -0000 Hi Lee, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Lee Daly > Sent: Tuesday, January 8, 2019 10:29 AM > To: akhil.goyal@nxp.com > Cc: dev@dpdk.org; Varghese, Vipin ; Daly, Lee > > Subject: [dpdk-dev] [PATCH v6 1/2] test/compress: add checksum tests > + > + struct rte_comp_xform *compress_xform =3D > + rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); > + if (compress_xform =3D=3D NULL) { > + RTE_LOG(ERR, USER1, "Compress xform could not be > created\n"); test/test/test_compressdev.c:1531:6: error: variable 'decompress_xform' is = used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (compress_xform =3D=3D NULL) { ^~~~~~~~~~~~~~~~~~~~~~ test/test/test_compressdev.c:1661:11: note: uninitialized use occurs here rte_free(decompress_xform); ^~~~~~~~~~~~~~~~ There are clang compilation issues iwith this patch. Could you fix them? Thanks, Pablo