[PATCH] powerpc: Fix build warning on 32-bit PPC - bisected to commit 989cea5c14be

2016-12-22 Thread Larry Finger
I am getting the following warning when I build kernel 4.9-git on my PowerBook G4 with a 32-bit PPC processor: AS arch/powerpc/kernel/misc_32.o arch/powerpc/kernel/misc_32.S:299:7: warning: "CONFIG_FSL_BOOKE" is not defined [-Wundef] This problem is evident after commit 989cea5c14be

[PATCH] powerpc: Fix build warning on 32-bit PPC - bisected to commit 989cea5c14be

2016-12-22 Thread Larry Finger
I am getting the following warning when I build kernel 4.9-git on my PowerBook G4 with a 32-bit PPC processor: AS arch/powerpc/kernel/misc_32.o arch/powerpc/kernel/misc_32.S:299:7: warning: "CONFIG_FSL_BOOKE" is not defined [-Wundef] This problem is evident after commit 989cea5c14be

Re: [PATCH] powerpc: Fix build warning

2014-06-25 Thread Geert Uytterhoeven
On Tue, Jun 24, 2014 at 8:01 AM, Guenter Roeck wrote: > Sigh. Much easier to break something than to fix it. That would mean to get > approval > from at least three maintainers, and all that to get rid of a warning. I > don't > really have time for that. Let's just forget about it and live with

Re: [PATCH] powerpc: Fix build warning

2014-06-25 Thread Geert Uytterhoeven
On Tue, Jun 24, 2014 at 8:01 AM, Guenter Roeck li...@roeck-us.net wrote: Sigh. Much easier to break something than to fix it. That would mean to get approval from at least three maintainers, and all that to get rid of a warning. I don't really have time for that. Let's just forget about it

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Benjamin Herrenschmidt
On Mon, 2014-06-23 at 23:01 -0700, Guenter Roeck wrote: > I thought that only happens if a const is dropped, but maybe not. > > Sigh. Much easier to break something than to fix it. That would mean > to get approval > from at least three maintainers, and all that to get rid of a warning. > I don't

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Guenter Roeck
On 06/23/2014 10:34 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-06-23 at 22:05 -0700, Guenter Roeck wrote: On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds.

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Guenter Roeck
On 06/23/2014 10:34 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-06-23 at 22:05 -0700, Guenter Roeck wrote: On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds.

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Benjamin Herrenschmidt
On Mon, 2014-06-23 at 23:01 -0700, Guenter Roeck wrote: I thought that only happens if a const is dropped, but maybe not. Sigh. Much easier to break something than to fix it. That would mean to get approval from at least three maintainers, and all that to get rid of a warning. I don't

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Benjamin Herrenschmidt
On Mon, 2014-06-23 at 22:05 -0700, Guenter Roeck wrote: > On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: > > On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: > >> If compiled with W=1, the following warning is seen in powerpc builds. > >> > >> arch/powerpc/kernel/smp.c:750:18:

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Guenter Roeck
On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Benjamin Herrenschmidt
On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: > If compiled with W=1, the following warning is seen in powerpc builds. > > arch/powerpc/kernel/smp.c:750:18: warning: > type qualifiers ignored on function return type > static const int powerpc_smt_flags(void) > ^ >

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Benjamin Herrenschmidt
On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int powerpc_smt_flags(void) ^ This

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Guenter Roeck
On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const

Re: [PATCH] powerpc: Fix build warning

2014-06-23 Thread Benjamin Herrenschmidt
On Mon, 2014-06-23 at 22:05 -0700, Guenter Roeck wrote: On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type

Re: [PATCH] powerpc: Fix build warning

2014-06-16 Thread Guenter Roeck
On 06/16/2014 06:25 PM, David Rientjes wrote: On Fri, 13 Jun 2014, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int

Re: [PATCH] powerpc: Fix build warning

2014-06-16 Thread David Rientjes
On Fri, 13 Jun 2014, Guenter Roeck wrote: > If compiled with W=1, the following warning is seen in powerpc builds. > > arch/powerpc/kernel/smp.c:750:18: warning: > type qualifiers ignored on function return type > static const int powerpc_smt_flags(void) > ^ > > This is

Re: [PATCH] powerpc: Fix build warning

2014-06-16 Thread David Rientjes
On Fri, 13 Jun 2014, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int powerpc_smt_flags(void) ^ This is caused by

Re: [PATCH] powerpc: Fix build warning

2014-06-16 Thread Guenter Roeck
On 06/16/2014 06:25 PM, David Rientjes wrote: On Fri, 13 Jun 2014, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int

[PATCH] powerpc: Fix build warning

2014-06-13 Thread Guenter Roeck
If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int powerpc_smt_flags(void) ^ This is caused by a function returning 'const int', which doesn't

[PATCH] powerpc: Fix build warning

2014-06-13 Thread Guenter Roeck
If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int powerpc_smt_flags(void) ^ This is caused by a function returning 'const int', which doesn't