diff options
| author | Sridhar Parasuram <sridhar@codeaurora.org> | 2012-06-11 10:22:19 -0700 |
|---|---|---|
| committer | Sridhar Parasuram <sridhar@codeaurora.org> | 2012-06-11 10:25:36 -0700 |
| commit | 32cd2e999c18bf7fa2c5722c90c9bdf6dea60aba (patch) | |
| tree | 62a876d054fca57845617d361b5daa8fe9cd5541 /scripts/gcc-wrapper.py | |
| parent | af9e5b75508a82724ab3dc565b3ecc9d5af176a8 (diff) | |
scripts: gcc-wrapper: Add an allowed warning for alignment.c
| kernel/arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
uninitialized in this function [-Wuninitialized]
| error, forbidden warning: alignment.c:327
| make[2]: *** [arch/arm/mm/alignment.o] Error 1
Change-Id: Iadba4720a38997682036527a89b5adeb52ea6119
Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
| -rwxr-xr-x | scripts/gcc-wrapper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py index 37321608a79..583a5cef99e 100755 --- a/scripts/gcc-wrapper.py +++ b/scripts/gcc-wrapper.py @@ -40,8 +40,9 @@ import subprocess # force LANG to be set to en_US.UTF-8 to get consistent warnings. allowed_warnings = set([ - "return_address.c:62", + "alignment.c:327", "mmu.c:602", + "return_address.c:62", ]) # Capture the name of the object file, can find it. |
