[dpdk-dev] [Bug 860] gcc12 build error, net/ngbe
bugzilla at dpdk.org
bugzilla at dpdk.org
Thu Oct 28 14:48:01 CEST 2021
https://bugs.dpdk.org/show_bug.cgi?id=860
Bug ID: 860
Summary: gcc12 build error, net/ngbe
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev at dpdk.org
Reporter: ferruh.yigit at intel.com
Target Milestone: ---
With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"
../drivers/net/ngbe/base/ngbe_mng.c: In function ‘ngbe_hic_check_cap’:
../drivers/net/ngbe/base/ngbe_mng.c:197:16: warning: ‘err’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
197 | return err;
| ^~~
../drivers/net/ngbe/base/ngbe_mng.c:164:13: note: ‘err’ was declared here
164 | s32 err;
| ^~~
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list