Skip to contentSkip to conversation

ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

PATCH New Andrew Lunn 2 participants 7 messages Aug 30, 2012 – Aug 31, 2012

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

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Add missing <linux/sizes.h>

---
 arch/arm/mach-kirkwood/db88f6281-bp-setup.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-kirkwood/db88f6281-bp-setup.c +1 -0
index d933593..be90b7d 100644
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sizes.h>
 #include <linux/platform_device.h>
 #include <linux/mtd/partitions.h>
 #include <linux/ata_platform.h>
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Quoted 8 lines · Andrew Lunn

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Add missing <linux/sizes.h>

Applied to: fixes-for-v3.6

Also, I added a CC for stable so greg can pick it up.

thx,

Jason.

Quoted 24 lines
---
 arch/arm/mach-kirkwood/db88f6281-bp-setup.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-kirkwood/db88f6281-bp-setup.c +1 -0
index d933593..be90b7d 100644
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sizes.h>
 #include <linux/platform_device.h>
 #include <linux/mtd/partitions.h>
 #include <linux/ata_platform.h>
Signature · 7 lines
1.7.10.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Quoted 6 lines · Jason Cooper
Quoted 5 lines · Andrew Lunn

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Quoted 7 lines
Quoted 3 lines

Add missing <linux/sizes.h>

Applied to: fixes-for-v3.6

Also, I added a CC for stable so greg can pick it up.

Hi Jason

Stable does not need it. As i said, it only broke 23 August with linux-next. So this is needed for only 3.7.

Andrew

#3 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Quoted 9 lines · Andrew Lunn
Quoted 8 lines · Jason Cooper
Quoted 7 lines · Andrew Lunn

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Add missing <linux/sizes.h>

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Applied to: fixes-for-v3.6

Also, I added a CC for stable so greg can pick it up.

Stable does not need it. As i said, it only broke 23 August with linux-next. So this is needed for only 3.7.

Do we know caused the break? Is it a fix destined for -stable?

thx,

Jason.

#4 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Quoted 4 lines
Quoted 2 lines

Stable does not need it. As i said, it only broke 23 August with linux-next. So this is needed for only 3.7.

Do we know caused the break? Is it a fix destined for -stable?

I've not bisected it.

Andrew

#5 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

In reply to Jason Cooper
Quoted 12 lines · Jason Cooper
Quoted 11 lines · Andrew Lunn
Quoted 10 lines · Jason Cooper
Quoted 8 lines · Andrew Lunn

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Add missing <linux/sizes.h>

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Applied to: fixes-for-v3.6

Also, I added a CC for stable so greg can pick it up.

Stable does not need it. As i said, it only broke 23 August with linux-next. So this is needed for only 3.7.

Do we know caused the break? Is it a fix destined for -stable?

Hi Jason

If im groking the output from gcc -E correctly, it was this change:

http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=8f039ba3191e67bf48e560f5737d0c285720d4d8

The #include <asm/memory.h> has been dropped, and its from there that it was getting <linux/sizes.h>.

This does not look like a change that will get backported to anything earlier than 3.7.

Andrew

#6 lore raw

PATCH 1/1 ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c

Quoted 26 lines · Andrew Lunn
Quoted 12 lines · Jason Cooper
Quoted 11 lines · Andrew Lunn
Quoted 10 lines · Jason Cooper
Quoted 8 lines · Andrew Lunn

Linux-next has failed to compile for kirkwood since 23 August with:

arch/arm/mach-kirkwood/db88f6281-bp-setup.c:29: error: 'SZ_1M' undeclared here (not in a function) arch/arm/mach-kirkwood/db88f6281-bp-setup.c:33: error: 'SZ_4M' undeclared here (not in a function)

Add missing <linux/sizes.h>

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Applied to: fixes-for-v3.6

Also, I added a CC for stable so greg can pick it up.

Stable does not need it. As i said, it only broke 23 August with linux-next. So this is needed for only 3.7.

Do we know caused the break? Is it a fix destined for -stable?

Hi Jason

If im groking the output from gcc -E correctly, it was this change:

Quoted 7 lines

http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=8f039ba3191e67bf48e560f5737d0c285720d4d8

The #include <asm/memory.h> has been dropped, and its from there that it was getting <linux/sizes.h>.

This does not look like a change that will get backported to anything earlier than 3.7.

Ok, Arnd and Olof haven't pulled yet, so I'll issue a new request without the Cc -stable.

thx,

Jason.