Skip to contentSkip to conversation

linux-next: build warnings after merge of the crypto tree

PATCH In review Stephen Rothwell 4 participants 4 messages Aug 1, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the crypto tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/arm/include/asm/Kbuild: simd.h

Introduced by commit

82cb54856874 ("asm-generic: make simd.h a mandatory include/asm header")

Also the powerpc ppc64_defconfig build produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/powerpc/include/asm/Kbuild: simd.h

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw

PATCH 1/1 asm-generic: Remove redundant arch-specific rules for simd.h

Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the crypto tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/arm/include/asm/Kbuild: simd.h

Quoted 7 lines

Introduced by commit

82cb54856874 ("asm-generic: make simd.h a mandatory include/asm header")

Also the powerpc ppc64_defconfig build produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/powerpc/include/asm/Kbuild: simd.h

Thanks for the heads up Stephen. This patch should fix the warnings.

---8<---
Now that simd.h is in include/asm-generic/Kbuild we don't need the arch-specific Kbuild rules for them.

Fixes 82cb54856874 ("asm-generic: make simd.h a mandatory...")
arch/arm/include/asm/Kbuild +0 -1
index 6b2dc15..68ca86f 100644
@@ -17,7 +17,6 @@ generic-y += parport.h
 generic-y += preempt.h
 generic-y += seccomp.h
 generic-y += serial.h
-generic-y += simd.h
 generic-y += trace_clock.h
 
 generated-y += mach-types.h
arch/powerpc/include/asm/Kbuild +0 -1
index 9a1d2fc..64870c7 100644
@@ -11,4 +11,3 @@ generic-y += mcs_spinlock.h
 generic-y += preempt.h
 generic-y += vtime.h
 generic-y += msi.h
-generic-y += simd.h
Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH] asm-generic: Remove redundant arch-specific rules for simd.h

Quoted 45 lines · Herbert Xu
Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the crypto tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/arm/include/asm/Kbuild: simd.h

Quoted 7 lines

Introduced by commit

82cb54856874 ("asm-generic: make simd.h a mandatory include/asm header")

Also the powerpc ppc64_defconfig build produced this warning:

scripts/Makefile.asm-generic:25: redundant generic-y found in arch/powerpc/include/asm/Kbuild: simd.h

Thanks for the heads up Stephen. This patch should fix the warnings.

---8<---
Now that simd.h is in include/asm-generic/Kbuild we don't need the arch-specific Kbuild rules for them.

Fixes 82cb54856874 ("asm-generic: make simd.h a mandatory...")
arch/arm/include/asm/Kbuild +0 -1
index 6b2dc15..68ca86f 100644
@@ -17,7 +17,6 @@ generic-y += parport.h
 generic-y += preempt.h
 generic-y += seccomp.h
 generic-y += serial.h
-generic-y += simd.h
 generic-y += trace_clock.h
 
 generated-y += mach-types.h
arch/powerpc/include/asm/Kbuild +0 -0
index 9a1d2fc..64870c7 100644

arch/powerpc/include/asm/Kbuild generic-y += mcs_spinlock.h · line 14

Quoted 4 lines
arch/powerpc/include/asm/Kbuild +0 -1
@@ -11,4 +11,3 @@ generic-y += mcs_spinlock.h
 generic-y += preempt.h
 generic-y += vtime.h
 generic-y += msi.h
-generic-y += simd.h