Re: [PATCH] powerpc: ppc4xx: drop unused variable

2016-04-01 Thread Linus Walleij
On Fri, Apr 1, 2016 at 4:31 AM, Michael Ellerman wrote: > On Thu, 2016-03-31 at 14:57 +0200, Linus Walleij wrote: >> On Thu, Mar 31, 2016 at 12:09 PM, Michael Ellerman >> wrote: >> >> > If you feel like cross building powerpc in future it should be as simple >> > as: >> > >> > $ dnf install gc

Re: [PATCH] powerpc: ppc4xx: drop unused variable

2016-03-31 Thread Michael Ellerman
On Thu, 2016-03-31 at 14:57 +0200, Linus Walleij wrote: > On Thu, Mar 31, 2016 at 12:09 PM, Michael Ellerman > wrote: > > > If you feel like cross building powerpc in future it should be as simple as: > > > > $ dnf install gcc-powerpc64-linux-gnu || apt-get install > > gcc-powerpc-linux-gnu >

Re: [PATCH] powerpc: ppc4xx: drop unused variable

2016-03-31 Thread Linus Walleij
On Thu, Mar 31, 2016 at 12:09 PM, Michael Ellerman wrote: > If you feel like cross building powerpc in future it should be as simple as: > > $ dnf install gcc-powerpc64-linux-gnu || apt-get install > gcc-powerpc-linux-gnu > $ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- ... Ah hm yeah I

Re: [PATCH] powerpc: ppc4xx: drop unused variable

2016-03-31 Thread Michael Ellerman
On Thu, 2016-03-31 at 09:14 +0200, Linus Walleij wrote: > commit 0d36fe65f58391712e11a6621075f373216e5f00 > "powerpc: ppc4xx: use gpiochip data pointer" > made the mm_gc local variable in ppc4xx_gpio_set() > redundant, and when GCC treats warnings as errors this > happens: > > arch/powerpc/sysdev

[PATCH] powerpc: ppc4xx: drop unused variable

2016-03-31 Thread Linus Walleij
commit 0d36fe65f58391712e11a6621075f373216e5f00 "powerpc: ppc4xx: use gpiochip data pointer" made the mm_gc local variable in ppc4xx_gpio_set() redundant, and when GCC treats warnings as errors this happens: arch/powerpc/sysdev/ppc4xx_gpio.c: In function 'ppc4xx_gpio_set': arch/powerpc/sysdev/ppc4