scripts: gcc-wrapper: Add exceptions for failures with gcc-4.6.3
Compiling the kernel with gcc-4.6.3 generates two new forbidden warnings. Adding them to the allowed warnings list. Warning 1: kernel/arch/arm/mm/alignment.c:298:15: warning: 'offset.un' may be used uninitialized in this function [-Wuninitialized] Warning 2: kernel/net/sched/sch_generic.c:678:2: warning: the comparison will always evaluate as 'true' for the address of 'noop_qdisc' will never be NULL [-Waddress] Change-Id: Ib559420337ac4c2d25b55eb80e8da3c2221b2f75 Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
|
# Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
@@ -40,6 +40,7 @@ import subprocess
|
|||||||
# force LANG to be set to en_US.UTF-8 to get consistent warnings.
|
# force LANG to be set to en_US.UTF-8 to get consistent warnings.
|
||||||
|
|
||||||
allowed_warnings = set([
|
allowed_warnings = set([
|
||||||
|
"alignment.c:298",
|
||||||
"alignment.c:720",
|
"alignment.c:720",
|
||||||
"async.c:122",
|
"async.c:122",
|
||||||
"async.c:270",
|
"async.c:270",
|
||||||
@@ -59,6 +60,7 @@ allowed_warnings = set([
|
|||||||
"nf_conntrack_netlink.c:790",
|
"nf_conntrack_netlink.c:790",
|
||||||
"nf_nat_standalone.c:118",
|
"nf_nat_standalone.c:118",
|
||||||
"return_address.c:62",
|
"return_address.c:62",
|
||||||
|
"sch_generic.c:678",
|
||||||
"soc-core.c:1719",
|
"soc-core.c:1719",
|
||||||
"xt_log.h:50",
|
"xt_log.h:50",
|
||||||
"vx6953.c:3124",
|
"vx6953.c:3124",
|
||||||
|
|||||||
Reference in New Issue
Block a user