On 6/28/2019 11:47 AM, Ananyev, Konstantin wrote: > > >> -----Original Message----- >> From: Ivan Malov [mailto:[email protected]] >> Sent: Friday, June 28, 2019 4:13 AM >> To: Olivier Matz <[email protected]> >> Cc: [email protected]; Ananyev, Konstantin <[email protected]>; Andrew >> Rybchenko <[email protected]>; Stephen >> Hemminger <[email protected]>; Kulasek, TomaszX >> <[email protected]>; [email protected] >> Subject: [PATCH v3] net: fix the way how L4 checksum choice is tested >> >> The API to prepare checksum offloads mistreats L4 >> checksum type enum values as self-contained flags. >> >> Turning these flag checks into enum checks causes >> warnings by GCC about possibly uninitialised IPv4 >> header pointer. The issue was found to show up in >> the case of GCC versions 4.8.5 and 5.4.0, however, >> it might be the case for a wider variety of other >> versions. Initialise the pointer upon declaration. >> and explain the reason behind this in the comment. >> >> Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") >> Cc: Tomasz Kulasek <[email protected]> >> Cc: [email protected] >> >> Signed-off-by: Ivan Malov <[email protected]> >> Reviewed-by: Andrew Rybchenko <[email protected]> > > Acked-by: Konstantin Ananyev <[email protected]> >
Applied to dpdk-next-net/master, thanks.

