Thanks, do I need to send a new version to resolve formatting issues?

> -----Original Message-----
> From: David Marchand <david.march...@redhat.com>
> Sent: 2022年6月16日 22:29
> To: Wu, WenxuanX <wenxuanx...@intel.com>
> Cc: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z
> <qi.z.zh...@intel.com>; dev <dev@dpdk.org>; Thomas Monjalon
> <tho...@monjalon.net>; Stephen Hemminger
> <step...@networkplumber.org>; dpdk stable <sta...@dpdk.org>
> Subject: Re: [PATCH] ice/base: fix gcc 12 warning stringop-overflow
> 
> Title should start with net/ice/base:.
> 
> On Thu, Jun 16, 2022 at 12:35 PM <wenxuanx...@intel.com> wrote:
> >
> > From: Wenxuan Wu <wenxuanx...@intel.com>
> >
> > Gcc with -O2 flag, would retrieve the value in one time.
> > This patch changed the type of fv_idx in struct ice_recp_grp_entry to
> > align with its callers which is also u8 type.
> >
> > When u8 idx[5] = a value u16 index[4], gcc12 would give this warning,
> > because it is not big enough to store the bytes(bigger than 5 bytes)
> > in one time (-O2 would do it in this way).
> >
> > Fixes: 04b8ec1ea807 ("net/ice/base: add protocol structures and
> > defines")
> > Cc: sta...@dpdk.org
> Missing empty line.
> 
> > Signed-off-by: Wenxuan Wu <wenxuanx...@intel.com>
> 
> Only build tested.
> Tested-by: David Marchand <david.march...@redhat.com>
> 
> 
> --
> David Marchand


Reply via email to