scripts/gcc-wrapper.py: ignore some warnings when W=1

Change-Id: I9d9651c077ee025d2f4fbe8faf22f8bed19b0cdd
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2018-03-28 18:48:44 +08:00
parent 2783b7940e
commit 1079fa97eb

View File

@@ -49,6 +49,10 @@ allowed_warnings = set([
"memcontrol.c:5337", # mm/memcontrol.c:5337:12: warning: initialization from incompatible pointer type
"atags_to_fdt.c:98", # arch/arm/boot/compressed/atags_to_fdt.c:98:1: warning: the frame size of 1032 bytes is larger than 1024 bytes
"drm_edid.c:3506", # drivers/gpu/drm/drm_edid.c:3506:13: warning: 'cea_db_is_hdmi_forum_vsdb' defined but not used
# W=1
"bounds.c:15", # kernel/bounds.c:15:6: warning: no previous prototype for foo
"cpufeature.h:157", # arch/arm64/include/asm/cpufeature.h:157:68: warning: signed and unsigned type in conditional expression
"sched.h:1211", # include/linux/sched.h:1211:1: warning: type qualifiers ignored on function return type
])
# Capture the name of the object file, can find it.