2008-07-16 14:30:53

by Adrian Bunk

[permalink] [raw]
Subject: Re: [PATCH linux-next] Add module.h include to stacktrace.c.

Why was this patch ignored?

The build failures now made it into Linus' tree.

Stephen already fixed the powerpc one.
s390 is still broken.
And I just ran into this compile error on sh...

cu
Adrian


On Fri, Jul 11, 2008 at 12:39:25PM +0200, Heiko Carstens wrote:
> From: Heiko Carstens <[email protected]>
>
> Fixes this:
>
> CC arch/s390/kernel/stacktrace.o
> arch/s390/kernel/stacktrace.c:84: warning: data definition has no type or storage class
> arch/s390/kernel/stacktrace.c:84: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
> arch/s390/kernel/stacktrace.c:84: warning: parameter names (without types) in function declaration
> arch/s390/kernel/stacktrace.c:97: warning: data definition has no type or storage class
> arch/s390/kernel/stacktrace.c:97: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
> arch/s390/kernel/stacktrace.c:97: warning: parameter names (without types) in function declaration
>
> caused by "stacktrace: export save_stack_trace[_tsk]"
>
> Signed-off-by: Heiko Carstens <[email protected]>
> ---
>
> Ingo, the patch which causes this came in via one of your trees.
> Please merge/apply. Thanks.
>
> arch/avr32/kernel/stacktrace.c | 1 +
> arch/mips/kernel/stacktrace.c | 1 +
> arch/powerpc/kernel/stacktrace.c | 1 +
> arch/s390/kernel/stacktrace.c | 1 +
> arch/sh/kernel/stacktrace.c | 1 +
> 5 files changed, 5 insertions(+)
>
> Index: linux-next/arch/s390/kernel/stacktrace.c
> ===================================================================
> --- linux-next.orig/arch/s390/kernel/stacktrace.c
> +++ linux-next/arch/s390/kernel/stacktrace.c
> @@ -10,6 +10,7 @@
> #include <linux/sched.h>
> #include <linux/stacktrace.h>
> #include <linux/kallsyms.h>
> +#include <linux/module.h>
>
> static unsigned long save_context_stack(struct stack_trace *trace,
> unsigned long sp,
> Index: linux-next/arch/avr32/kernel/stacktrace.c
> ===================================================================
> --- linux-next.orig/arch/avr32/kernel/stacktrace.c
> +++ linux-next/arch/avr32/kernel/stacktrace.c
> @@ -10,6 +10,7 @@
> #include <linux/sched.h>
> #include <linux/stacktrace.h>
> #include <linux/thread_info.h>
> +#include <linux/module.h>
>
> register unsigned long current_frame_pointer asm("r7");
>
> Index: linux-next/arch/mips/kernel/stacktrace.c
> ===================================================================
> --- linux-next.orig/arch/mips/kernel/stacktrace.c
> +++ linux-next/arch/mips/kernel/stacktrace.c
> @@ -7,6 +7,7 @@
> */
> #include <linux/sched.h>
> #include <linux/stacktrace.h>
> +#include <linux/module.h
> #include <asm/stacktrace.h>
>
> /*
> Index: linux-next/arch/powerpc/kernel/stacktrace.c
> ===================================================================
> --- linux-next.orig/arch/powerpc/kernel/stacktrace.c
> +++ linux-next/arch/powerpc/kernel/stacktrace.c
> @@ -12,6 +12,7 @@
>
> #include <linux/sched.h>
> #include <linux/stacktrace.h>
> +#include <linux/module.h>
> #include <asm/ptrace.h>
>
> /*
> Index: linux-next/arch/sh/kernel/stacktrace.c
> ===================================================================
> --- linux-next.orig/arch/sh/kernel/stacktrace.c
> +++ linux-next/arch/sh/kernel/stacktrace.c
> @@ -12,6 +12,7 @@
> #include <linux/sched.h>
> #include <linux/stacktrace.h>
> #include <linux/thread_info.h>
> +#include <linux/module.h>
> #include <asm/ptrace.h>
>
> /*
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html


2008-07-16 15:35:23

by Heiko Carstens

[permalink] [raw]
Subject: Re: [PATCH linux-next] Add module.h include to stacktrace.c.

On Wed, Jul 16, 2008 at 05:30:33PM +0300, Adrian Bunk wrote:
> Why was this patch ignored?
>
> The build failures now made it into Linus' tree.
>
> Stephen already fixed the powerpc one.
> s390 is still broken.
> And I just ran into this compile error on sh...

Dunno... I'm just going to add a patch to our tree.