rk: gcc-wrapper.py ignore memcontrol.c:5337
[firefly-linux-kernel-4.4.55.git] / scripts / gcc-wrapper.py
index 8753754536a84c9a826738997db1c7f9e65938f1..26ee34d53a18796f5a05cea967991e7fa8098fb0 100755 (executable)
@@ -40,17 +40,13 @@ 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",
+    "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
+    "memcontrol.c:5337", # mm/memcontrol.c:5337:12: warning: initialization from incompatible pointer type
  ])
 
 # Capture the name of the object file, can find it.