linux-next: build failure after merge of the dmaengine tree
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the dmaengine tree, today's linux-next build (
x86_64allmodconfig) 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 structof_device_id*of_id;
| ^~~~~
cc1: all warnings being treated as errors
Quoted 5 lines
Caused by commit
a67ba97dfb30("dmaengine: Usedevice_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]/
Signature · 1 line
~Vinod
Quoted 12 lines · Stephen Rothwell
Hi all,
After merging the dmaengine tree, today's linux-next build (
x86_64allmodconfig) 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 structof_device_id*of_id;
| ^~~~~
cc1: all warnings being treated as errors
Quoted 3 lines
Caused by commit
a67ba97dfb30("dmaengine: Usedevice_get_match_data()")
FWIW, my patch has the above line removed. Seems it got dropped when applying.
Rob
Quoted 13 lines · Rob Herring
Quoted 12 lines · Stephen Rothwell
Hi all,
After merging the dmaengine tree, today's linux-next build (
x86_64allmodconfig) 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 structof_device_id*of_id;
| ^~~~~
cc1: all warnings being treated as errors
Quoted 5 lines
Quoted 3 lines
Caused by commit
a67ba97dfb30("dmaengine: Usedevice_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
Signature · 1 line
~Vinod