diff options
author | 2010-11-08 21:25:24 +0800 | |
---|---|---|
committer | 2010-12-16 18:10:55 +0000 | |
commit | ec79812580e360081b58c3e2e8b5b69b8080b5a0 (patch) | |
tree | 96bb523800041989acf5a141d9398ec719ff25c0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | MIPS: VPE loader: Check vmalloc return value in vpe_open (diff) | |
download | wireguard-linux-ec79812580e360081b58c3e2e8b5b69b8080b5a0.tar.xz wireguard-linux-ec79812580e360081b58c3e2e8b5b69b8080b5a0.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions