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 D5FB842AD3 for ; Thu, 11 May 2023 09:02:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4CF442D5C; 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.133.124]) by mails.dpdk.org (Postfix) with ESMTP id CCD1B40E03 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-462-9R9o5ZPLM0SS76KVep70BQ-1; Thu, 11 May 2023 03:02:01 -0400 X-MC-Unique: 9R9o5ZPLM0SS76KVep70BQ-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-24e4531d571so4599667a91.1 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=GKM6v3T22Tx4INj3BMjqwG1X2jDxMKR0favy+m+/GynzU3r4GcFTT1KEc43oNKRxCM G7Gerco3XFzW7hI7KxQFLfSfKQtb74DlMHxavjZEE7J2iSvpc5i7/3YcPe43H+h8BLu5 DCT/YpcwtBZPlibEc0PUoXVmWnWqwRGOAoyQmXTqg+QVViZjeWyoQBuLQ6c2icEDxALU /w2mtGYe/SHVmWSVQ0Ak/vUsV9YPDRACxWAw5nfHVFe67+tPh5O+3Y1UlcYkLYy1BYzN vsGXuOCUBDVAhno5tzIKCnqC5rj6cBMjvx+FaUnzwJfnD4llXkeMx1OAKMR0iohBLKbb DMeg== X-Gm-Message-State: AC+VfDyEys2ZIwqM0rjgrf5ptnpciJwKKjAPzMp23/XxZSR0DrsuOubR tgHg4V/30naqcb3pIk8RXtHcumUT4aYvafSG015rnjb291OXBfzoyUet5UPpk3qmE6Z8KSdERzY 6OWfkIeKQBTnCDYLtkDPSgKI= X-Received: by 2002:a17:90b:38c1:b0:252:94b5:36f1 with SMTP id nn1-20020a17090b38c100b0025294b536f1mr534299pjb.27.1683788521022; 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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