<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - warning in hns3 driver with clang and asan"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1498">1498</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>warning in hns3 driver with clang and asan
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.03
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ethdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stephen@networkplumber.org
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">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
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1498">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>