diff options
| author | Se Wang (Patrick) Oh <sewango@codeaurora.org> | 2015-06-25 19:15:20 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:51:59 -0700 |
| commit | f98d3ccfabe542416cc8ba6163f1b4f12dae08a1 (patch) | |
| tree | 1d0b48a244f822cf0226b29c4676c51a9b7895bd /scripts/gcc-wrapper.py | |
| parent | aa10e64c96a560987ebb5eb714fbd455ad4483cc (diff) | |
scripts: gcc-wrapper: bypass forbidden warnings with gcc5
Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors with gcc5.
sysrq.c:956:33: warning: array subscript is above array bounds
hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit'
discards 'const' qualifier from pointer target type
Change-Id: I5056078112fdc457c424c0f49c4dca70c6b97c29
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
| -rwxr-xr-x | scripts/gcc-wrapper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py index bd9c4df46273..230e1501219e 100755 --- a/scripts/gcc-wrapper.py +++ b/scripts/gcc-wrapper.py @@ -42,6 +42,8 @@ import subprocess allowed_warnings = set([ "fdt.c:932", "hid-magicmouse.c:579", + "sysrq.c:956", + "hci_sock.c:980", ]) # Capture the name of the object file, can find it. |
