Re: [PATCH] nios2: Fix unused variable warning

2015-10-01 Thread Ley Foon Tan
On Tue, Sep 22, 2015 at 11:22 PM, Tobias Klauser wrote: > On 2015-09-19 at 06:40:51 +0200, Marek Vasut 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

Re: [PATCH] nios2: Fix unused variable warning

2015-10-01 Thread Ley Foon Tan
On Tue, Sep 22, 2015 at 11:22 PM, Tobias Klauser wrote: > On 2015-09-19 at 06:40:51 +0200, Marek Vasut wrote: >> Fix the following compiler splat by adding __maybe_unused annotation >> to the variable. Using this particular annotation has the least ugly >>

Re: [PATCH] nios2: Fix unused variable warning

2015-09-22 Thread Tobias Klauser
On 2015-09-19 at 06:40:51 +0200, Marek Vasut 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

Re: [PATCH] nios2: Fix unused variable warning

2015-09-22 Thread Tobias Klauser
On 2015-09-19 at 06:40:51 +0200, Marek Vasut 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

[PATCH] nios2: Fix unused variable warning

2015-09-18 Thread Marek Vasut
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

[PATCH] nios2: Fix unused variable warning

2015-09-18 Thread Marek Vasut
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