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 9888742AD3; Thu, 11 May 2023 09:02:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD05A42D63; Thu, 11 May 2023 09:02:05 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id DB4E142D5C for ; Thu, 11 May 2023 09:02:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683788523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NEvDv7vwsBqiGT8gKtiM0W1VFEumSwOlVJJYRmsVAxU=; b=d2ias+ysVDOdVH/63o/6fkdG7qI3noBm98axcXZOJ1aGN0Fj6ciZBGkYgsQjzGxgL0uqXI y5IzDVYKtewaEJ/kxDfWXFCy7v4UUMiD4yX5wqKp6qPXErtqUDew0yyXeh1badbAJ/qHJf 3P1bbxhhtz5TEmBANRuKCoARbf22OIQ= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-267-b0HlOQrHOwKG9QE07gxM1w-1; Thu, 11 May 2023 03:02:02 -0400 X-MC-Unique: b0HlOQrHOwKG9QE07gxM1w-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-250109c729eso4534857a91.3 for ; Thu, 11 May 2023 00:02:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683788521; x=1686380521; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NEvDv7vwsBqiGT8gKtiM0W1VFEumSwOlVJJYRmsVAxU=; b=P+y3GeY7xMwkvMjX+oVjKj+xBHK0Zke3MFBmH6VnxIvFzYGsjRNUoenmYaDlMSdPll AFON4yFgaswoDufTeJWVwYP7nsXFrHrRKH4mDdR9XnzRsdoXFtIQdV3wCsFDhXED+oj6 6DIj5WLbSY7n5kK4bDJVt1zKhmBgqRvr57TYOp8zW1Vkr7aDEf/S8ZP8mHE4LGXzpuQ2 SVXD8koiUN0lrcF4v/KA3SIbSKU+U4iz7jDsZoylr28FSHN9Z1/rrZZavpBMJebfEkLU jZyb5FLrrM2KE960Lwzp7JX7tWKaRBsZg36LqF+IlurpqljBfnR86QWLdKhAzQe1EO3o ybBw== X-Gm-Message-State: AC+VfDz1llKA9C4HBUZbog1QQR/T/4aQF1q/NKV4rbzfyHs1BFjGzCD0 kGrIH9OTR3W+yE7u7G/Uro3sZ6wsqBLXYu584nj7GFHDI38kJ+8LO+cTYj1wLGWIE5WrbR4KZLy ziLulWIhvO1tARW5H42s= X-Received: by 2002:a17:90b:38c1:b0:252:94b5:36f1 with SMTP id nn1-20020a17090b38c100b0025294b536f1mr534297pjb.27.1683788521021; Thu, 11 May 2023 00:02:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6eJgOBpOcybVodJ/yq9Ad/z8AhHRq8OqP6TnkgrzS7MPUneC8hHsaofAVSCAfrMXG4jztdye+Fl48b7FBy4Ew= X-Received: by 2002:a17:90b:38c1:b0:252:94b5:36f1 with SMTP id nn1-20020a17090b38c100b0025294b536f1mr534275pjb.27.1683788520657; Thu, 11 May 2023 00:02:00 -0700 (PDT) MIME-Version: 1.0 References: <20230502135045.3541570-1-jerinj@marvell.com> In-Reply-To: <20230502135045.3541570-1-jerinj@marvell.com> From: David Marchand Date: Thu, 11 May 2023 09:01:49 +0200 Message-ID: Subject: Re: [dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC 13 To: jerinj@marvell.com Cc: dev@dpdk.org, Cristian Dumitrescu , Jasvinder Singh , thomas@monjalon.net, ferruh.yigit@xilinx.com, stephen@networkplumber.org, stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, May 2, 2023 at 3:51=E2=80=AFPM wrote: > > From: Jerin Jacob > > Fix the following build issue by initializing req to NULL for > the local variable. > > In function 'thread_msg_handle', inlined from 'thread_main' at > ../examples/ip_pipeline/thread.c:3130:6: > ../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used > uninitialized [-Wmaybe-uninitialized] > 535 | if (req =3D=3D NULL) > | ^ > ../examples/ip_pipeline/thread.c: In function 'thread_main': > ../examples/ip_pipeline/thread.c:433:32: note: 'req' was declared here > 433 | struct thread_msg_req *req; > > Bugzilla ID: 1220 > Fixes: a8bd581de397 ("examples/ip_pipeline: add thread runtime") > Cc: stable@dpdk.org > > Signed-off-by: Jerin Jacob Acked-by: Cristian Dumitrescu Tested-by: Ali Alnubani Tested-by: Daxue Gao Applied, thanks. --=20 David Marchand