2021-07-28 16:51:10

by Mark Brown

[permalink] [raw]
Subject: linux-next: build failure after merge of the drivers-x86 tree

Hi all,

After merging the drivers-x86 tree, today's linux-next build
(x86 allmodconfig) failed like this:

error: the following would cause module name conflict:
drivers/misc/c2port/core.ko
drivers/platform/x86/intel/pmc/core.ko

Caused by commit

29036fcc92b22d ("platform/x86/intel: intel_pmc_core: Move intel_pmc_core* files to pmc subfolder")

Since there was nothing in the branch yesterday I've just dropped the
tree entirely.


2021-07-28 17:04:15

by Andy Shevchenko

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the drivers-x86 tree

On Wed, Jul 28, 2021 at 7:49 PM Mark Brown <[email protected]> wrote:
>
> Hi all,
>
> After merging the drivers-x86 tree, today's linux-next build
> (x86 allmodconfig) failed like this:
>
> error: the following would cause module name conflict:
> drivers/misc/c2port/core.ko
> drivers/platform/x86/intel/pmc/core.ko
>
> Caused by commit
>
> 29036fcc92b22d ("platform/x86/intel: intel_pmc_core: Move intel_pmc_core* files to pmc subfolder")
>
> Since there was nothing in the branch yesterday I've just dropped the
> tree entirely.

Yeah, PMC Makefile should keep the object name the same, something like

obj-$(..._PMC_...) += intel_pmc_....o
intel-pmc_...-y := core.o ...


--
With Best Regards,
Andy Shevchenko

2021-07-28 17:28:10

by Kammela, Gayatri

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the drivers-x86 tree

> -----Original Message-----
> From: Andy Shevchenko <[email protected]>
> Sent: Wednesday, July 28, 2021 10:02 AM
> To: Mark Brown <[email protected]>
> Cc: Hans de Goede <[email protected]>; Gross, Mark
> <[email protected]>; Kammela, Gayatri <[email protected]>;
> Rajneesh Bhardwaj <[email protected]>; Linux Kernel Mailing List
> <[email protected]>; Linux Next Mailing List <linux-
> [email protected]>; Platform Driver <platform-driver-
> [email protected]>
> Subject: Re: linux-next: build failure after merge of the drivers-x86 tree
>
> On Wed, Jul 28, 2021 at 7:49 PM Mark Brown <[email protected]> wrote:
> >
> > Hi all,
> >
> > After merging the drivers-x86 tree, today's linux-next build
> > (x86 allmodconfig) failed like this:
> >
> > error: the following would cause module name conflict:
> > drivers/misc/c2port/core.ko
> > drivers/platform/x86/intel/pmc/core.ko
> >
> > Caused by commit
> >
> > 29036fcc92b22d ("platform/x86/intel: intel_pmc_core: Move
> > intel_pmc_core* files to pmc subfolder")
> >
> > Since there was nothing in the branch yesterday I've just dropped the
> > tree entirely.
>
> Yeah, PMC Makefile should keep the object name the same, something like
>
> obj-$(..._PMC_...) += intel_pmc_....o
> intel-pmc_...-y := core.o ...
>
Hi Andy and Mark,
We've found the issue on our side as well and planning to push the fix soon. Would you prefer to have the whole patch series redone or just the fix ?

>
> --
> With Best Regards,
> Andy Shevchenko

2021-07-28 17:57:06

by Hans de Goede

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the drivers-x86 tree

Hi,

On 7/28/21 7:27 PM, Kammela, Gayatri wrote:
>> -----Original Message-----
>> From: Andy Shevchenko <[email protected]>
>> Sent: Wednesday, July 28, 2021 10:02 AM
>> To: Mark Brown <[email protected]>
>> Cc: Hans de Goede <[email protected]>; Gross, Mark
>> <[email protected]>; Kammela, Gayatri <[email protected]>;
>> Rajneesh Bhardwaj <[email protected]>; Linux Kernel Mailing List
>> <[email protected]>; Linux Next Mailing List <linux-
>> [email protected]>; Platform Driver <platform-driver-
>> [email protected]>
>> Subject: Re: linux-next: build failure after merge of the drivers-x86 tree
>>
>> On Wed, Jul 28, 2021 at 7:49 PM Mark Brown <[email protected]> wrote:
>>>
>>> Hi all,
>>>
>>> After merging the drivers-x86 tree, today's linux-next build
>>> (x86 allmodconfig) failed like this:
>>>
>>> error: the following would cause module name conflict:
>>> drivers/misc/c2port/core.ko
>>> drivers/platform/x86/intel/pmc/core.ko
>>>
>>> Caused by commit
>>>
>>> 29036fcc92b22d ("platform/x86/intel: intel_pmc_core: Move
>>> intel_pmc_core* files to pmc subfolder")
>>>
>>> Since there was nothing in the branch yesterday I've just dropped the
>>> tree entirely.
>>
>> Yeah, PMC Makefile should keep the object name the same, something like
>>
>> obj-$(..._PMC_...) += intel_pmc_....o
>> intel-pmc_...-y := core.o ...

Right, I will drop the patches from pdx86/for-next and do a forced push.

> Hi Andy and Mark,
> We've found the issue on our side as well and planning to push the fix soon. Would you prefer to have the whole patch series redone or just the fix ?

I've just dropped the current version of the patches,
please send the whole patch series redone.

Thanks & Regards,

Hans


2021-07-28 18:01:34

by Kammela, Gayatri

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the drivers-x86 tree

> -----Original Message-----
> From: Hans de Goede <[email protected]>
> Sent: Wednesday, July 28, 2021 10:56 AM
> To: Kammela, Gayatri <[email protected]>; Andy Shevchenko
> <[email protected]>; Mark Brown <[email protected]>
> Cc: Gross, Mark <[email protected]>; Rajneesh Bhardwaj
> <[email protected]>; Linux Kernel Mailing List <linux-
> [email protected]>; Linux Next Mailing List <linux-
> [email protected]>; Platform Driver <platform-driver-
> [email protected]>
> Subject: Re: linux-next: build failure after merge of the drivers-x86 tree
>
> Hi,
>
> On 7/28/21 7:27 PM, Kammela, Gayatri wrote:
> >> -----Original Message-----
> >> From: Andy Shevchenko <[email protected]>
> >> Sent: Wednesday, July 28, 2021 10:02 AM
> >> To: Mark Brown <[email protected]>
> >> Cc: Hans de Goede <[email protected]>; Gross, Mark
> >> <[email protected]>; Kammela, Gayatri
> <[email protected]>;
> >> Rajneesh Bhardwaj <[email protected]>; Linux Kernel Mailing
> >> List <[email protected]>; Linux Next Mailing List <linux-
> >> [email protected]>; Platform Driver <platform-driver-
> >> [email protected]>
> >> Subject: Re: linux-next: build failure after merge of the drivers-x86
> >> tree
> >>
> >> On Wed, Jul 28, 2021 at 7:49 PM Mark Brown <[email protected]>
> wrote:
> >>>
> >>> Hi all,
> >>>
> >>> After merging the drivers-x86 tree, today's linux-next build
> >>> (x86 allmodconfig) failed like this:
> >>>
> >>> error: the following would cause module name conflict:
> >>> drivers/misc/c2port/core.ko
> >>> drivers/platform/x86/intel/pmc/core.ko
> >>>
> >>> Caused by commit
> >>>
> >>> 29036fcc92b22d ("platform/x86/intel: intel_pmc_core: Move
> >>> intel_pmc_core* files to pmc subfolder")
> >>>
> >>> Since there was nothing in the branch yesterday I've just dropped
> >>> the tree entirely.
> >>
> >> Yeah, PMC Makefile should keep the object name the same, something
> >> like
> >>
> >> obj-$(..._PMC_...) += intel_pmc_....o intel-pmc_...-y := core.o ...
>
> Right, I will drop the patches from pdx86/for-next and do a forced push.
>
> > Hi Andy and Mark,
> > We've found the issue on our side as well and planning to push the fix
> soon. Would you prefer to have the whole patch series redone or just the fix
> ?
>
> I've just dropped the current version of the patches, please send the whole
> patch series redone.
Sure Hans! I will send the whole patch series redone.
>
> Thanks & Regards,
>
> Hans