Re: linux-next: build failure after merge of the dmaengine tree

From: Rob Herring
Date: Wed Oct 11 2023 - 09:42:09 EST


On Mon, Oct 9, 2023 at 10:54 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the dmaengine tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/dma/mmp_tdma.c: In function 'mmp_tdma_probe':
> drivers/dma/mmp_tdma.c:638:36: error: unused variable 'of_id' [-Werror=unused-variable]
> 638 | const struct of_device_id *of_id;
> | ^~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> a67ba97dfb30 ("dmaengine: Use device_get_match_data()")

FWIW, my patch has the above line removed. Seems it got dropped when applying.

Rob