linux/arch/nios2
Marek Vasut 4db2196d0c nios2: Fix unused variable warning
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 <marex@denx.de>
Acked-by: Ley Foon Tan <lftan@altera.com>
2015-11-09 10:33:29 +08:00
..
boot nios2: Add Max10 device tree 2015-09-08 18:15:52 +08:00
configs nios2: add Max10 defconfig 2015-09-08 18:16:02 +08:00
include Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2015-10-04 16:31:13 +01:00
kernel nios2: Fix unused variable warning 2015-11-09 10:33:29 +08:00
lib nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
mm mm/fault, arch: Use pagefault_disable() to check for disabled pagefaults in the handler 2015-05-19 08:39:15 +02:00
platform nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Kconfig nios2: add kgdb support 2015-02-16 19:26:43 +08:00
Kconfig.debug nios2: add early printk support 2015-02-10 23:21:08 +08:00
Makefile nios2: enable "make defconfig" 2014-12-17 13:37:09 +08:00