On Tue, Sep 22, 2015 at 11:22 PM, Tobias Klauser <[email protected]> wrote: > On 2015-09-19 at 06:40:51 +0200, Marek Vasut <[email protected]> wrote: >> Fix the following compiler splat by adding __maybe_unused annotation >> to the variable. Using this particular annotation has the least ugly >> impact on the code compared to using ifdeffery. >> >> arch/nios2/kernel/setup.c: In function 'nios2_boot_init': >> arch/nios2/kernel/setup.c:107:7: warning: unused variable 'cmdline_passed' >> [-Wunused-variable] >> char cmdline_passed[COMMAND_LINE_SIZE] = { 0, }; >> ^ >> >> Signed-off-by: Marek Vasut <[email protected]> > > Reviewed-by: Tobias Klauser <[email protected]> > -- Acked-by: Ley Foon Tan <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

