DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Devendra Singh Rawat <dsinghrawat@marvell.com>
Cc: Ferruh Yigit <ferruh.yigit@xilinx.com>,
	Rasesh Mody <rmody@marvell.com>,
	 Igor Russkikh <irusskikh@marvell.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	 Jerin Jacob Kollanukkaran <jerinj@marvell.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [EXT] [PATCH] net/qede: fix build with GCC 13
Date: Mon, 20 Jun 2022 23:16:32 +0530	[thread overview]
Message-ID: <CALBAE1MjwaSbAk_6G1evpFoEEYh-dksat0zLJ=5deG1jB-71tA@mail.gmail.com> (raw)
In-Reply-To: <SJ0PR18MB4461997492FDC2BE730C948EB6B09@SJ0PR18MB4461.namprd18.prod.outlook.com>

On Mon, Jun 20, 2022 at 3:03 PM Devendra Singh Rawat
<dsinghrawat@marvell.com> wrote:
>
>
>
> > -----Original Message-----
> > From: Ferruh Yigit <ferruh.yigit@xilinx.com>
> > Sent: Thursday, June 16, 2022 10:32 PM
> > To: Rasesh Mody <rmody@marvell.com>; Devendra Singh Rawat
> > <dsinghrawat@marvell.com>; Igor Russkikh <irusskikh@marvell.com>
> > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran <jerinj@marvell.com>;
> > 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 ‘qed_grc_dump_addr_range’:
> > ../drivers/net/qede/base/ecore.h:95:17:
> >       warning: overflow in conversion from ‘int’ to ‘u8’
> >       {aka ‘unsigned char’} changes value from ‘(int)vf_id << 8 | 128’
> >       to ‘128’ [-Woverflow]
> >    95 |                 ((_value & _name##_MASK) << _name##_SHIFT)
> >       |                 ^
> > ../drivers/net/qede/qede_debug.c:1907:31:
> >       note: in expansion of macro ‘FIELD_VALUE’
> >  1907 |         fid = FIELD_VALUE(PXP_PRETEND_CONCRETE_FID_VFVALID, 1)
> >       |               ^~~~~~~~~~~
> >
> > To prevent overflow converting 'fib' to uint16_t, while updating it also
> > updated 'vf_id' to 16 bit too.
> >
> > Fixes: ec55c118792b ("net/qede: add infrastructure for debug data collection")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
> > ---

> > 2.27.0
>
> Acked.
> Acked-by: Devendra Singh Rawat <dsinghrawat@marvell.com>


Applied to dpdk-next-net-mrvl/for-next-net. Thanks


>
> Thanks.

      reply	other threads:[~2022-06-20 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16 17:02 Ferruh Yigit
2022-06-17 12:03 ` Jerin Jacob
2022-06-20  9:33 ` [EXT] " Devendra Singh Rawat
2022-06-20 17:46   ` Jerin Jacob [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALBAE1MjwaSbAk_6G1evpFoEEYh-dksat0zLJ=5deG1jB-71tA@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=dsinghrawat@marvell.com \
    --cc=ferruh.yigit@xilinx.com \
    --cc=irusskikh@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=rmody@marvell.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).