Skip to contentSkip to conversation

gcc12 build error, net/ngbe

dpdk-dev [email protected] 1 participant 2 messages Oct 28, 2021 – Jun 15, 2022

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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;
| ^~~

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=860

David Marchand ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from David Marchand ([email protected]) --- I can't reproduce with released gcc 12.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.