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> (cherry picked from commit 116bcf08bd2c078e809a2d1e53fe901cf6f65502) Conflicts: scripts/gcc-wrapper.py
This commit is contained in:
committed by
Stephen Boyd
parent
74b9ffc4bc
commit
6e3b72fa13
@@ -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",
|
||||||
@@ -58,7 +59,8 @@ allowed_warnings = set([
|
|||||||
"msm_sdcc.c:128",
|
"msm_sdcc.c:128",
|
||||||
"nf_conntrack_netlink.c:790",
|
"nf_conntrack_netlink.c:790",
|
||||||
"nf_nat_standalone.c:118",
|
"nf_nat_standalone.c:118",
|
||||||
"return_address.c:61",
|
"return_address.c:62",
|
||||||
|
"sch_generic.c:678",
|
||||||
"soc-core.c:1719",
|
"soc-core.c:1719",
|
||||||
"xt_log.h:50",
|
"xt_log.h:50",
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user