[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250303172114.6004ef32@kernel.org>
Date: Mon, 3 Mar 2025 17:21:14 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, Rasesh Mody
<rmody@...vell.com>, GR-Linux-NIC-Dev@...vell.com, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net v1 1/1] bnx2: Fix unused data compilation warning
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?
Powered by blists - more mailing lists