aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2012-02-09 15:56:26 -0800
committerRohit Vaswani <rvaswani@codeaurora.org>2012-02-09 16:27:55 -0800
commit660d3ffb16a8ee7c5693d745a8588c991035c8e7 (patch)
tree14f543fca7ef508ad122c9b7a16a96cd23afa71d /scripts/gcc-wrapper.py
parent6e53da890bbb130b6326394a58c6fe9d965c01eb (diff)
scripts: gcc-wrapper: Add exceptions for netfilter failures with gcc-4.6.3
Compiling the kernel with gcc-4.6.3 generates multiple forbidden warnings for netfilter. Adding them to the allowed warnings list. Change-Id: I7214d8c1bb59c99e2422eaac2a820fb43cf62b1e Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
-rwxr-xr-xscripts/gcc-wrapper.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py
index 65744e15540..0104f1a7e19 100755
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -57,8 +57,34 @@ allowed_warnings = set([
"inode.c:74",
"msm_sdcc.c:126",
"msm_sdcc.c:128",
+ "nf_conntrack_core.c:1579",
+ "nf_conntrack_core.c:1580",
"nf_conntrack_netlink.c:790",
+ "nf_conntrack_proto.c:210",
+ "nf_conntrack_proto.c:345",
+ "nf_conntrack_proto.c:370",
+ "nf_nat_core.c:528",
+ "nf_nat_core.c:739",
+ "nf_nat_core.c:740",
+ "nf_nat_core.c:741",
+ "nf_nat_core.c:742",
+ "nf_nat_core.c:751",
+ "nf_nat_core.c:753",
+ "nf_nat_core.c:756",
+ "nf_nat_ftp.c:123",
+ "nf_nat_pptp.c:285",
+ "nf_nat_pptp.c:288",
+ "nf_nat_pptp.c:291",
+ "nf_nat_pptp.c:294",
+ "nf_nat_sip.c:550",
+ "nf_nat_sip.c:551",
+ "nf_nat_sip.c:552",
+ "nf_nat_sip.c:553",
+ "nf_nat_sip.c:555",
+ "nf_nat_sip.c:556",
+ "nf_nat_sip.c:554",
"nf_nat_standalone.c:118",
+ "nf_nat_tftp.c:46",
"return_address.c:62",
"sch_generic.c:678",
"soc-core.c:1719",