Re: [PATCH net v1 1/1] bnx2: Fix unused data compilation warning
From: Jakub Kicinski
Date: Mon Mar 03 2025 - 20:21:22 EST
On Fri, 28 Feb 2025 12:05:37 +0200 Andy Shevchenko wrote:
> In some configuration, compilation raises warnings related to unused
> data. Indeed, depending on configuration, those data can be unused.
>
> Mark those data as __maybe_unused to avoid compilation warnings.
Will making dma_unmap_addr access the first argument instead of
pre-processing down to nothing not work?