Skip to contentSkip to conversation

next-20181211 build: 1 failures 32 warnings (next-20181211)

DISCUSSION Mark Brown 2 participants 3 messages Dec 11, 2018 – Dec 12, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): E1gWnrV-00086U-3m@optimist

Mark Brown

author maintainer
#1 lore raw

On Tue, Dec 11, 2018 at 07:38:33PM +0000, Build bot for Mark Brown wrote:

Today's -next fails to build an arm allmodconfig due to:

Quoted 9 lines

arm-allmodconfig
../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool'

in ddbridge-ci.c and some other media files. This is because ddbridge.h includes asm/irq.h but that does not directly include headers which define the above types and it appears some header changes have removed an implicit inclusion of those. Moving the asm includes after the linux ones in ddbridge.h fixes this though this appears to be against the coding style for media.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 14 lines · Mark Brown

On Tue, Dec 11, 2018 at 07:38:33PM +0000, Build bot for Mark Brown wrote:

Today's -next fails to build an arm allmodconfig due to:

Quoted 9 lines

arm-allmodconfig
../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool' ../arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t' ../arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool'

Quoted 6 lines

in ddbridge-ci.c and some other media files. This is because ddbridge.h includes asm/irq.h but that does not directly include headers which define the above types and it appears some header changes have removed an implicit inclusion of those. Moving the asm includes after the linux ones in ddbridge.h fixes this though this appears to be against the coding style for media.

Hi Mark,

I sent a patch for this yesterday, I think moving the asm includes after the linux ones is the correct fix according to the rest of the kernel:
https://lore.kernel.org/linux-media/[email protected]/

Hopefully it can be picked up quickly.

Thanks,
Nathan

author maintainer
#3 lore raw
Quoted 9 lines · Nathan Chancellor
Quoted 6 lines · Mark Brown

in ddbridge-ci.c and some other media files. This is because ddbridge.h includes asm/irq.h but that does not directly include headers which define the above types and it appears some header changes have removed an implicit inclusion of those. Moving the asm includes after the linux ones in ddbridge.h fixes this though this appears to be against the coding style for media.

Quoted 5 lines

I sent a patch for this yesterday, I think moving the asm includes after the linux ones is the correct fix according to the rest of the kernel:
https://lore.kernel.org/linux-media/[email protected]/

Hopefully it can be picked up quickly.

Ah, great - thanks. I agree this is probably the best fix, I just wasn't sure if the media people had some other idea given the coding style there.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel