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

Subsystems: arm port, the rest

STALE5090d

7 messages, 2 authors, 2012-08-31 · open the first message on its own page

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

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-08-30 05:39:12

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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/mach-kirkwood/db88f6281-bp-setup.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
index d933593..be90b7d 100644
--- a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
+++ b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
@@ -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>
-- 
1.7.10.4

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

From: Jason Cooper <hidden>
Date: 2012-08-30 17:12:36

On Thu, Aug 30, 2012 at 07:39:12AM +0200, Andrew Lunn wrote:
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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Applied to: fixes-for-v3.6

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

thx,

Jason.
quoted hunk
---
 arch/arm/mach-kirkwood/db88f6281-bp-setup.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
index d933593..be90b7d 100644
--- a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
+++ b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
@@ -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>
-- 
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

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

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-08-30 18:08:53

On Thu, Aug 30, 2012 at 01:12:36PM -0400, Jason Cooper wrote:
On Thu, Aug 30, 2012 at 07:39:12AM +0200, Andrew Lunn wrote:
quoted
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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
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

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

From: Jason Cooper <hidden>
Date: 2012-08-30 18:50:50

On Thu, Aug 30, 2012 at 08:08:53PM +0200, Andrew Lunn wrote:
On Thu, Aug 30, 2012 at 01:12:36PM -0400, Jason Cooper wrote:
quoted
On Thu, Aug 30, 2012 at 07:39:12AM +0200, Andrew Lunn wrote:
quoted
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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
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.

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

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-08-30 18:59:18

quoted
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

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

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-08-31 05:47:34

On Thu, Aug 30, 2012 at 02:50:50PM -0400, Jason Cooper wrote:
On Thu, Aug 30, 2012 at 08:08:53PM +0200, Andrew Lunn wrote:
quoted
On Thu, Aug 30, 2012 at 01:12:36PM -0400, Jason Cooper wrote:
quoted
On Thu, Aug 30, 2012 at 07:39:12AM +0200, Andrew Lunn wrote:
quoted
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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
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

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

From: Jason Cooper <hidden>
Date: 2012-08-31 15:38:52

On Fri, Aug 31, 2012 at 07:47:34AM +0200, Andrew Lunn wrote:
On Thu, Aug 30, 2012 at 02:50:50PM -0400, Jason Cooper wrote:
quoted
On Thu, Aug 30, 2012 at 08:08:53PM +0200, Andrew Lunn wrote:
quoted
On Thu, Aug 30, 2012 at 01:12:36PM -0400, Jason Cooper wrote:
quoted
On Thu, Aug 30, 2012 at 07:39:12AM +0200, Andrew Lunn wrote:
quoted
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>

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
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.
Ok, Arnd and Olof haven't pulled yet, so I'll issue a new request
without the Cc -stable.

thx,

Jason.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help