[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <304860b1-cd01-4d27-92eb-0bf6e30398fb@samsung.com>
Date: Fri, 18 Apr 2025 08:19:14 +0200
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: iommu@...ts.linux.dev, linux-kernel@...r.kernel.org, Christoph Hellwig
<hch@....de>, Robin Murphy <robin.murphy@....com>, netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH] dma-mapping: avoid potential unused data compilation
warning
On 15.04.2025 11:39, Andy Shevchenko wrote:
> On Tue, Apr 15, 2025 at 09:56:59AM +0200, Marek Szyprowski wrote:
>> When CONFIG_NEED_DMA_MAP_STATE is not defined, dma-mapping clients might
>> report unused data compilation warnings for dma_unmap_*() calls
>> arguments. Redefine macros for those calls to let compiler to notice that
>> it is okay when the provided arguments are not used.
> Tested-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>
> (GCC on default i386_defconfig with `make W=1` on v6.15-rc2)
Applied to dma-mapping-fixes branch.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
Powered by blists - more mailing lists