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 360CDA0547 for ; Mon, 20 Jun 2022 19:47:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E37A427F5; Mon, 20 Jun 2022 19:47:01 +0200 (CEST) Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by mails.dpdk.org (Postfix) with ESMTP id 5F2E240151; Mon, 20 Jun 2022 19:46:59 +0200 (CEST) Received: by mail-qv1-f46.google.com with SMTP id t16so11912193qvh.1; Mon, 20 Jun 2022 10:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yNd8wOJrM7KEWP/ens+F9EOFDG67LiHaKoIXDeIRxn8=; b=FGnI82mT4LtvKJFyUPxjemCxxXF5L8HirsSfIiHdpKw9mNblB6jiKGa9Hbd6i4EKVT 6IBOAt3TAbr5bXpoctn6hzn57w2OLSMroXOEgZaRSTMANpRtTloDiyqTa2Vj+/g6MMUq Q+k6WvG+I7JVDy7b5vM8UEhiB3mI9+ucqhWDDTfezLsNl/fShrt+hG2VFARyS9kYkXCf 7e/YGPaSPAq+Q1XbzEsn2PgnuiLSy1EmM5lHIXI2TaCmUlYpzZSGHzRNYD0SVMDh0cXH tJUhLp4cvwguFEW82QLoSwM/CnJpEAcbjn53h2sUrToqZSP4RIWUBZ4hxiMGcXxr0U1I 9+cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yNd8wOJrM7KEWP/ens+F9EOFDG67LiHaKoIXDeIRxn8=; b=nmVZICnTE+Yix9KJYICncOykeZHS2U5YaphggG36LUwfQp9Wt8JxsFLe7JvHUFCqKS vvU4y31E8oFDueoeltgY2qXQNkxpKKPktimiggUjMP/q5qZcTslPOAm1FdpTKtIoTw7d RBBTT4ESXItbeV/8LZNTlU06vMV9CzosHRUclw1dI+XinzPsKjPDS/x6h+ep+UDRrxe9 SOFMCvioaNbUsdlBcLH+k/eBEJTWJjTYr1EMIOFX69vosJj1lOibo/uJofB76C9Iqftv 11sEzjLchzD0Eo1zpdk32Ze2IVIRKTKeZEsaoa+sJl9XYWBxFpeUqf1dPJ/Z1xssYzZU pIwQ== X-Gm-Message-State: AJIora9VGsMybWpiy60pGEaaGpfDysM6LtiuBRlqfiLW6wiQqRe7v0I6 3kGbXLTtN+HKwK/YecsrtzKjVUS77W4nZ2Oy3KI= X-Google-Smtp-Source: AGRyM1vMV4W9UWHvEUoOAd9HWLlnBRT+yPktUGTCAS80z4cymMKSIY/rVnBS6jpB2voKXI2FoQyLiZHmPeq2NMgT0g8= X-Received: by 2002:a05:622a:1824:b0:2f3:c196:10d with SMTP id t36-20020a05622a182400b002f3c196010dmr21020465qtc.74.1655747218758; Mon, 20 Jun 2022 10:46:58 -0700 (PDT) MIME-Version: 1.0 References: <20220616170211.2550199-1-ferruh.yigit@xilinx.com> In-Reply-To: From: Jerin Jacob Date: Mon, 20 Jun 2022 23:16:32 +0530 Message-ID: Subject: Re: [EXT] [PATCH] net/qede: fix build with GCC 13 To: Devendra Singh Rawat Cc: Ferruh Yigit , Rasesh Mody , Igor Russkikh , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , "stable@dpdk.org" 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 Mon, Jun 20, 2022 at 3:03 PM Devendra Singh Rawat wrote: > > > > > -----Original Message----- > > From: Ferruh Yigit > > Sent: Thursday, June 16, 2022 10:32 PM > > To: Rasesh Mody ; Devendra Singh Rawat > > ; Igor Russkikh > > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > > stable@dpdk.org > > Subject: [EXT] [PATCH] net/qede: fix build with GCC 13 > > > > External Email > > > > ---------------------------------------------------------------------- > > Reproduced with "gcc (GCC) 13.0.0 20220616 (experimental)" > > > > Build error: > > In file included from ../drivers/net/qede/qede_debug.c:9: > > ../drivers/net/qede/qede_debug.c: In function =E2=80=98qed_grc_dump_add= r_range=E2=80=99: > > ../drivers/net/qede/base/ecore.h:95:17: > > warning: overflow in conversion from =E2=80=98int=E2=80=99 to =E2= =80=98u8=E2=80=99 > > {aka =E2=80=98unsigned char=E2=80=99} changes value from =E2=80= =98(int)vf_id << 8 | 128=E2=80=99 > > to =E2=80=98128=E2=80=99 [-Woverflow] > > 95 | ((_value & _name##_MASK) << _name##_SHIFT) > > | ^ > > ../drivers/net/qede/qede_debug.c:1907:31: > > note: in expansion of macro =E2=80=98FIELD_VALUE=E2=80=99 > > 1907 | fid =3D FIELD_VALUE(PXP_PRETEND_CONCRETE_FID_VFVALID, 1= ) > > | ^~~~~~~~~~~ > > > > To prevent overflow converting 'fib' to uint16_t, while updating it als= o > > updated 'vf_id' to 16 bit too. > > > > Fixes: ec55c118792b ("net/qede: add infrastructure for debug data colle= ction") > > Cc: stable@dpdk.org > > > > Signed-off-by: Ferruh Yigit > > --- > > 2.27.0 > > Acked. > Acked-by: Devendra Singh Rawat Applied to dpdk-next-net-mrvl/for-next-net. Thanks > > Thanks.