Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused

2018-03-15 Thread Greg Kroah-Hartman
On Thu, Mar 15, 2018 at 08:08:29AM +0100, Mathieu Malaterre wrote: > On Thu, Mar 15, 2018 at 1:54 AM, Michael Ellerman wrote: > > Mathieu Malaterre writes: > >> Subject: Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable > >> maybe_unused > > >

Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused

2018-03-15 Thread Mathieu Malaterre
On Thu, Mar 15, 2018 at 1:54 AM, Michael Ellerman wrote: > Mathieu Malaterre writes: >> Subject: Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable >> maybe_unused > > You're fixing an error on powerpc, but the patch is to the serial code, > so the su

Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused

2018-03-14 Thread Michael Ellerman
Mathieu Malaterre writes: > Subject: Re: [PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable > maybe_unused You're fixing an error on powerpc, but the patch is to the serial code, so the subject should probably be more like: serial: core: Mark the variable earlycon_acpi_

[PATCH] powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused

2018-03-10 Thread Mathieu Malaterre
Re-use the object-like macro EARLYCON_USED_OR_UNUSED to mark `earlycon_acpi_spcr_enable` as maybe_unused. Fix the following warning (treated as error in W=1) CC arch/powerpc/kernel/setup-common.o In file included from ./include/linux/serial_8250.h:14:0, from arch/powerpc/k