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()")
I have used the dmaengine tree from next-20231009 for today.
--
Cheers,
Stephen Rothwell
On 10-10-23, 14:54, Stephen Rothwell 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()")
>
> I have used the dmaengine tree from next-20231009 for today.
Thanks for the report, I have posted the fix:
https://lore.kernel.org/dmaengine/[email protected]/
--
~Vinod
On Mon, Oct 9, 2023 at 10:54 PM Stephen Rothwell <[email protected]> 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
On 11-10-23, 08:41, Rob Herring wrote:
> On Mon, Oct 9, 2023 at 10:54 PM Stephen Rothwell <[email protected]> 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.
Looks like it got missed while applying the patch. The patch had a
conflict so I had to manually apply this one...
Sorry to have missed that
--
~Vinod