summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHuang, Tao <huangtao@rock-chips.com>2016-05-13 14:41:29 +0800
committerHuang, Tao <huangtao@rock-chips.com>2016-05-13 14:41:29 +0800
commit0afa3fa6495ba932138c7a74bf2eb2d2ea488dcf (patch)
tree87ede13786f90ce6150764b0137eef1efee7db77 /scripts
parent9d59a887bfb8b4d4c744c67d2a85f7642b4b3af4 (diff)
rk: clean up gcc-wrapper.py
Change-Id: I958439f74e7bb8a84e477f66dca2e592b55cd5bb Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gcc-wrapper.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py
index b424f2034cc7..e5baf38726cf 100755
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -40,19 +40,12 @@ import subprocess
# force LANG to be set to en_US.UTF-8 to get consistent warnings.
allowed_warnings = set([
- "core.c:142", # drivers/regulator/core.c:142:6: warning: unused variable 'i'
"posix-cpu-timers.c:1268", # kernel/time/posix-cpu-timers.c:1268:13: warning: 'now' may be used uninitialized in this function
"af_unix.c:1036", # net/unix/af_unix.c:1036:20: warning: 'hash' may be used uninitialized in this function
"sunxi_sram.c:214", # drivers/soc/sunxi/sunxi_sram.c:214:24: warning: 'device' may be used uninitialized in this function
"ks8851.c:298", # drivers/net/ethernet/micrel/ks8851.c:298:2: warning: 'rxb[0]' may be used uninitialized in this function
"ks8851.c:421", # drivers/net/ethernet/micrel/ks8851.c:421:20: warning: 'rxb[0]' may be used uninitialized in this function
"compat_binfmt_elf.c:58", # fs/compat_binfmt_elf.c:58:13: warning: 'cputime_to_compat_timeval' defined but not used
- "cgroup.c:2132", # kernel/cgroup.c:2132:13: warning: 'root' may be used uninitialized in this function
- "lowmemorykiller.c:174", # drivers/staging/android/lowmemorykiller.c:174:3: warning: ISO C90 forbids mixed declarations and code
- "inet6_connection_sock.c:89", # net/ipv6/inet6_connection_sock.c:89:32: warning: passing argument 1 of 'sock_i_uid' discards 'const' qualifier from pointer target type
- "inet_connection_sock.c:423", # net/ipv4/inet_connection_sock.c:423:283: warning: passing argument 1 of 'sock_i_uid' discards 'const' qualifier from pointer target type
- "inet_connection_sock.c:460", # net/ipv4/inet_connection_sock.c:460:283: warning: passing argument 1 of 'sock_i_uid' discards 'const' qualifier from pointer target type
- "watchdog.c:122", # kernel/watchdog.c:122:22: warning: 'hardlockup_allcpu_dumped' defined but not used
"memcontrol.c:5271", # mm/memcontrol.c:5271:2: warning: initialization from incompatible pointer type
])