Re: linux-next: build warning after merge of the slave-dma tree

From: Stephen Rothwell
Date: Wed Jul 04 2018 - 22:47:12 EST


Hi Vinod,

On Wed, 4 Jul 2018 09:50:17 +0530 Vinod <vkoul@xxxxxxxxxx> wrote:
>
> On 04-07-18, 13:30, Stephen Rothwell wrote:
> >
> > After merging the slave-dma tree, today's linux-next build (x86_64
> > allmodconfig) produced this warning:
> >
> > WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-edma-common.o
>
> Thanks for the report, I have fixed it by adding this and pushed out.

Unfortunately, my arm multi_v7_defconfig build now gets this failure:

drivers/dma/fsl-edma-common.c:672:16: error: expected declaration specifiers or '...' before string constant
MODULE_LICENSE("GPL v2");
^~~~~~~~

presumable a missing include of module.h ...

I have gone back to the slave-dma tree from next-20180704 for today.
--
Cheers,
Stephen Rothwell

Attachment: pgp2mtbktlVDF.pgp
Description: OpenPGP digital signature