Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Oct 10, 2023 – Oct 12, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 11 lines · Stephen Rothwell

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

Quoted 5 lines

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]/

Signature · 1 line
~Vinod
#2 lore raw
In reply to Stephen Rothwell
Quoted 12 lines · Stephen Rothwell

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

Quoted 3 lines

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

#3 lore raw
Quoted 13 lines · Rob Herring
Quoted 12 lines · Stephen Rothwell

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

Quoted 5 lines
Quoted 3 lines

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

Signature · 1 line
~Vinod