<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 27-08-2026 20:27, Stephen Hemminger
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20260827075721.1344582e@phoenix.local">
      <pre wrap="" class="moz-quote-pre">On Thu, 27 Aug 2026 11:07:50 +0200
David Marchand <a class="moz-txt-link-rfc2396E" href="mailto:david.marchand@redhat.com"><david.marchand@redhat.com></a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">On Thu, 27 Aug 2026 at 02:00, Stephen Hemminger
<a class="moz-txt-link-rfc2396E" href="mailto:stephen@networkplumber.org"><stephen@networkplumber.org></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="" class="moz-quote-pre">
Fix compiler warning on clang-23.

  dpaa_of.c:14:12: warning: variable 'alive' set but not used
        [-Wunused-but-set-global]

The 'alive' flag is only read by DPAAX_HWWARN, which expands to an empty
statement and discards its condition unless RTE_LIBRTE_DPAAX_DEBUG is
defined. Make the empty expansion consume its argument so the condition
is still checked in a non-debug build.

Fixes: 8c83f28cc8a4 ("common/dpaax: move OF library from DPAA bus")  
</pre>
        </blockquote>
        <pre wrap="" class="moz-quote-pre">
Not that important, the issue probably predates this commit.
And looking at this change, it seems DPAA_BUS_HWWARN is dead code since then.
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">
That is when the device-tree warning was added.
The history scan looks right.

It seems like it should either be removed as irrelevant or made into
a regular warning. But that is up to Hemant and Sachin to decide;
I just want clean builds for now.<span style="white-space: normal">We need to remove this define. </span></pre>
    </blockquote>
    We will plan to remove this definition in future.
    <p>Acked-by: Hemant Agrawal <a class="moz-txt-link-rfc2396E" href="mailto:hemant.agrawal@nxp.com"><hemant.agrawal@nxp.com></a><br>
      <br>
    </p>
    <blockquote type="cite" cite="mid:20260827075721.1344582e@phoenix.local">
      <pre wrap="" class="moz-quote-pre">
</pre>
    </blockquote>
  </body>
</html>