From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2C59A0548; Fri, 9 Jul 2021 22:39:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FAFA410FD; Fri, 9 Jul 2021 22:39:46 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 4B7CB40143 for ; Fri, 9 Jul 2021 22:39:44 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AA9EA5C0047; Fri, 9 Jul 2021 16:39:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 09 Jul 2021 16:39:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 4+uqZggyF0n5gEtle2SB2kE1cpqriW1SBeZr3PdKoL4=; b=wRTC5FsNbAqNV+ox F4OYB6aDqyxmYgT2qUqr1phODV+5hyQSIjz9dcE5bNmgSWda5Ls53GJGtSzrhedl zDOANJhPlsUIqcM9reo7VXYaELPZhvgUzB52kJAKk4U4GvJqJeXGqQYj7L4CgVw+ 1z1LrzA78ww1YredyjVE2Mvy7Ay6hZlUAs9ysdysKNTynid3nYzfVbJ0eJQSD2yZ /1AiTLVqnTqjF9G4rjJKnWUA4M5hxL4Jcl6/XlXmD5QxUN2yXY9L90nFv7Af8l7e TX+DcCOG8bj3mD4x6+F3dM9GNhRWrF141nh6OO7dn6tmqOkPI3CYSf4b1reyvLIj 3K1LNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=4+uqZggyF0n5gEtle2SB2kE1cpqriW1SBeZr3PdKo L4=; b=tqeNst0c2gI5y7R+cx10U40qZIhIu7Gh12Rf5gHE4MduStB+vGpOgRoKE YiRiNASMIwc8WZ6l/V5hdhaoN660ysuDafgQNwoOQml6cUyfsFiLW81kq8LwmN0n 27DnS/8uUkjIx1qY17suzd0t/7hTeAH7CIt0FRK5XuzCEWdUByNUgQW7ljDqFHtk rtxBHaQEdmF9fpZGs1HISufGwR26FdG7Tyez7AIxRLo2UYTB2RylQEJRBPpgnOfz 0oyOBIr1xgl8SxA29adSu+M2EpFFRoFR4fczVwCwIJb3IJf5AHYMNrKVpupqKWJ2 SWhN0fZc+IQZ2GUoYVuhheLIhQlzg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdeigddugeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepkeethedtieevhfeigeejleegudefjeehkeekteeuveeiuedvveeu tdejveehveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jul 2021 16:39:40 -0400 (EDT) From: Thomas Monjalon To: Ajit Khaparde Cc: dpdk-dev , Kishore Padmanabha , david.marchand@redhat.com, ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru Date: Fri, 09 Jul 2021 22:39:39 +0200 Message-ID: <3873097.bDWhCI1HLX@thomas> In-Reply-To: References: <20210709153725.87348-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] net/bnxt: fix build failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 09/07/2021 20:38, Ajit Khaparde: > On Fri, Jul 9, 2021 at 8:37 AM Ajit Khaparde > wrote: >=20 > > Fix build failures because of uninitialized variables. > > > > ../drivers/net/bnxt/tf_ulp/ulp_mapper.c: In function > > =E2=80=98ulp_mapper_index_tbl_process=E2=80=99: > > ../drivers/net/bnxt/tf_ulp/ulp_mapper.c:2252:43: error: =E2=80=98*(unsi= gned int > > *)((char *)&glb_res + offsetof(struct bnxt_ulp_glb_resource_info, > > resource_func))=E2=80=99 may be used uninitialized in this function > > [-Werror=3Dmaybe-uninitialized] > > 2252 | struct bnxt_ulp_glb_resource_info glb_res; > > | ^~~~~~~ > > ../drivers/net/bnxt/tf_ulp/ulp_mapper.c:2252:43: error: > > =E2=80=98glb_res.resource_type=E2=80=99 may be used uninitialized in th= is function > > [-Werror=3Dmaybe-uninitialized] > > > > ../drivers/net/bnxt/tf_core/dpool.c: In function =E2=80=98dpool_defrag= =E2=80=99: > > ../drivers/net/bnxt/tf_core/dpool.c:95:18: error: =E2=80=98index=E2=80= =99 may be used > > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > > 95 | uint32_t index; > > | ^~~~~ > > > > Fixes: 05b405d58148 ("net/bnxt: add dpool allocator for EM allocation") > > > > Signed-off-by: Kishore Padmanabha > > Signed-off-by: Ajit Khaparde >=20 > Patch applied to dpdk-next-net-brcm for-next-net branch. Thanks Pulled in main with additional info: seen on Fedora Core 34 (GCC 11)