aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2012-02-09 15:56:26 -0800
committerStephen Boyd <sboyd@codeaurora.org>2013-07-08 06:59:40 -0700
commit006f4b6f031bb241dba12d784382fdfd91539765 (patch)
treed00e66935c9bca02f5bc5c98e8b4412bb169a5a4 /scripts/gcc-wrapper.py
parenteba69fa3f6ed3cc3bc34b1c971e9bb02098d7dbc (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> (cherry picked from commit 660d3ffb16a8ee7c5693d745a8588c991035c8e7)
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 75a5046e3cc..171ce35ba14 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",