diff options
| author | Moyster <oysterized@gmail.com> | 2018-12-01 17:17:59 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-12-01 22:01:16 +0100 |
| commit | f3af5b659f23e49677ce68b5b0753a45cbe24137 (patch) | |
| tree | 223f9598e68f7245a1809054b239baeb01472c04 /net | |
| parent | 96e4baf675b4e4a2a5a188f7434ff31514c5872b (diff) | |
gcc6: partial merge of 'Fix all GCC 6.x warnings' by nathanchance : https://github.com/nathanchance/angler/commit/dde4c72c4b66a6247245328b1457763a9feb75c4
The array-bounds warning in net/ipv4/tcp_input.c is a false warning,
there is no way for an array out of bounds to be triggered. This
block is the same in upstream at the time of authoring this.
Diffstat (limited to 'net')
| -rw-r--r-- | net/ipv4/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile index 5a9af0a9b..b2eab7ab7 100644 --- a/net/ipv4/Makefile +++ b/net/ipv4/Makefile @@ -56,3 +56,6 @@ obj-$(CONFIG_NETLABEL) += cipso_ipv4.o obj-$(CONFIG_XFRM) += xfrm4_policy.o xfrm4_state.o xfrm4_input.o \ xfrm4_output.o + +# Needed to work around poor compiler optimization +CFLAGS_tcp_input.o := -Wno-array-bounds |
