Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-12 Thread Steven Rostedt
On Mon, 12 Jun 2017 15:13:54 +0100 Ian Abbott wrote: > >> diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h > >> index d6f4aed479a1..87191357d303 100644 > >> --- a/include/asm-generic/bug.h > >> +++ b/include/asm-generic/bug.h > >> @@ -97,6 +97,7 @@ extern

Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-12 Thread Steven Rostedt
On Mon, 12 Jun 2017 15:13:54 +0100 Ian Abbott wrote: > >> diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h > >> index d6f4aed479a1..87191357d303 100644 > >> --- a/include/asm-generic/bug.h > >> +++ b/include/asm-generic/bug.h > >> @@ -97,6 +97,7 @@ extern void

Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-12 Thread Ian Abbott
On 08/06/17 15:07, Steven Rostedt wrote: On Thu, 25 May 2017 13:03:11 +0100 Ian Abbott wrote: The declaration of `__warn()` has `struct pt_regs *regs` as one of its parameters. This can result in compiler warnings if `struct regs` is not already declared. Add an empty

Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-12 Thread Ian Abbott
On 08/06/17 15:07, Steven Rostedt wrote: On Thu, 25 May 2017 13:03:11 +0100 Ian Abbott wrote: The declaration of `__warn()` has `struct pt_regs *regs` as one of its parameters. This can result in compiler warnings if `struct regs` is not already declared. Add an empty declaration of `struct

Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-08 Thread Steven Rostedt
On Thu, 25 May 2017 13:03:11 +0100 Ian Abbott wrote: > The declaration of `__warn()` has `struct pt_regs *regs` as one of its > parameters. This can result in compiler warnings if `struct regs` is > not already declared. Add an empty declaration of `struct pt_regs` to >

Re: [PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-06-08 Thread Steven Rostedt
On Thu, 25 May 2017 13:03:11 +0100 Ian Abbott wrote: > The declaration of `__warn()` has `struct pt_regs *regs` as one of its > parameters. This can result in compiler warnings if `struct regs` is > not already declared. Add an empty declaration of `struct pt_regs` to > avoid the warnings. >

[PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-05-25 Thread Ian Abbott
The declaration of `__warn()` has `struct pt_regs *regs` as one of its parameters. This can result in compiler warnings if `struct regs` is not already declared. Add an empty declaration of `struct pt_regs` to avoid the warnings. Signed-off-by: Ian Abbott Cc: Arnd Bergmann

[PATCH v5 1/6] asm-generic/bug.h: declare struct pt_regs; before function prototype

2017-05-25 Thread Ian Abbott
The declaration of `__warn()` has `struct pt_regs *regs` as one of its parameters. This can result in compiler warnings if `struct regs` is not already declared. Add an empty declaration of `struct pt_regs` to avoid the warnings. Signed-off-by: Ian Abbott Cc: Arnd Bergmann Acked-by: Arnd