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

From: Vinod
Date: Thu Jul 05 2018 - 01:01:39 EST


Hi Stephen,

On 05-07-18, 12:47, Stephen Rothwell wrote:
> 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 ...

Thanks for reporting will check and fix this.

--
~Vinod