DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/ethdev Bug 1498] warning in hns3 driver with clang and asan
@ 2024-07-19 17:42 bugzilla
  2024-07-30  8:01 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-07-19 17:42 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

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

            Bug ID: 1498
           Summary: warning in hns3 driver with clang and asan
           Product: DPDK
           Version: 24.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  Target Milestone: ---

If build is configured with:

meson setup -Db_sanitize=address -Db_lundef=false build

[1225/2990] Compiling C object drivers..._net_hns3.a.p/net_hns3_hns3_ethdev.c.o
In function ‘hns3_fec_get_internal’,
    inlined from ‘hns3_query_dev_fec_info’ at
../drivers/net/hns3/hns3_ethdev.c:6268:8,
    inlined from ‘hns3_get_configuration’ at
../drivers/net/hns3/hns3_ethdev.c:2883:8,
    inlined from ‘hns3_init_pf’ at ../drivers/net/hns3/hns3_ethdev.c:4630:8,
    inlined from ‘hns3_dev_init’ at ../drivers/net/hns3/hns3_ethdev.c:6567:8:
../drivers/net/hns3/hns3_ethdev.c:6061:20: warning: ‘auto_state’ may be used
uninitialized [-Wmaybe-uninitialized]
 6061 |                 if (auto_state == 0x1) {
      |                    ^
../drivers/net/hns3/hns3_ethdev.c: In function ‘hns3_dev_init’:
../drivers/net/hns3/hns3_ethdev.c:6047:17: note: ‘auto_state’ was declared here
 6047 |         uint8_t auto_state;
      |                 ^~~~~~~~~~
[2990/2990] Linking target app/dpdk-test

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3451 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [DPDK/ethdev Bug 1498] warning in hns3 driver with clang and asan
  2024-07-19 17:42 [DPDK/ethdev Bug 1498] warning in hns3 driver with clang and asan bugzilla
@ 2024-07-30  8:01 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-07-30  8:01 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

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

Thomas Monjalon (thomas@monjalon.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Thomas Monjalon (thomas@monjalon.net) ---
Resolved in http://git.dpdk.org/dpdk/commit/?id=7dfc8e69aa

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2595 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-19 17:42 [DPDK/ethdev Bug 1498] warning in hns3 driver with clang and asan bugzilla
2024-07-30  8:01 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).