X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fgcc-wrapper.py;h=47b2630fd0e6dfa8523cdae9b3020e98cc816904;hb=f1f22ee614d18cbff082bedb407afb61061ad867;hp=147ae09af62b2bd390f2f7b3ba46cd83a1965697;hpb=ceaf071f7955c5c632c29bc7c5927957e0546375;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py index 147ae09af62b..47b2630fd0e6 100755 --- a/scripts/gcc-wrapper.py +++ b/scripts/gcc-wrapper.py @@ -40,18 +40,16 @@ import subprocess # force LANG to be set to en_US.UTF-8 to get consistent warnings. allowed_warnings = set([ - "return_address.c:63", - "hid-appleir.c:347", - "hid-magicmouse.c:590", - "hid-ntrig.c:1026", - "core.c:1334", - "menu.c:129", - "bus.c:318", # FIXME - "atags_to_fdt.c:96", - "compat_binfmt_elf.c:58", - "psci.c:299", - "psci.c:304", - "sysctl_net_core.c:24", + "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:911", # net/unix/af_unix.c:911: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 + "rockchip_drm_vop.c:581", # drivers/gpu/drm/rockchip/rockchip_drm_vop.c:581:49: warning: 'vskiplines' 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 + "mdp5.xml.h:1038", # drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h:1038:16: warning: 'uv_filter' may be used uninitialized in this function ]) # Capture the name of the object file, can find it.