]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: RB532: Fix build of prom code.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 6 Sep 2012 08:51:29 +0000 (10:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Dec 2012 17:15:28 +0000 (18:15 +0100)
commit8a6ae27a2a5b3abbc2f5314574778dd547593e35
treeea37d3250c55631c5ddf1cec71c4cb5e9fb7a0f2
parent0d7801653b01a2da17510fa6f71b813a0fcf2311
MIPS: RB532: Fix build of prom code.

  CC      arch/mips/rb532/prom.o
/home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c: In function ‘prom_setup_cmdline’:
/home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c:75:22: error: variable ‘prom_envp’ set but not used [-Werror=unused-but-set-variable]

This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
-Wunused-but-set-variable to suppress it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/prom.c