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@dpdk.org Reporter: ferruh.yi...@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.