MIPS: Loongson: Add return value check for strict_strtoul()
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 8 Nov 2010 13:25:24 +0000 (21:25 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:10:55 +0000 (18:10 +0000)
commitec79812580e360081b58c3e2e8b5b69b8080b5a0
tree96bb523800041989acf5a141d9398ec719ff25c0
parent863abad4f644b6c12bc8176206b35fa7e7cfe1a9
MIPS: Loongson: Add return value check for strict_strtoul()

cc1: warnings being treated as errors
arch/mips/loongson/common/env.c: In function 'prom_init_env':
arch/mips/loongson/common/env.c:49: error: ignoring return value of 'strict_strtol', declared with attribute warn_unused_result
arch/mips/loongson/common/env.c:50: error: ignoring return value of 'strict_strtol', declared with attribute warn_unused_result
arch/mips/loongson/common/env.c:51: error: ignoring return value of 'strict_strtol', declared with attribute warn_unused_result
arch/mips/loongson/common/env.c:52: error: ignoring return value of 'strict_strtol', declared with attribute warn_unused_result

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1762/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/env.c