mptcp: disable incompatible-pointer-types warnings
authorMichael Benedict <michaelbt@live.com>
Tue, 26 Mar 2019 08:41:29 +0000 (01:41 -0700)
committerMichael Benedict <michaelbt@live.com>
Sat, 31 Aug 2019 15:08:55 +0000 (01:08 +1000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
net/mptcp/Makefile

index 2520e8b0d437b02214a64613ed7afb5fe279a59f..e82da35e1baf0fe7252b181309e9c33c74b1937c 100644 (file)
@@ -8,6 +8,11 @@ obj-$(CONFIG_MPTCP) += mptcp.o
 mptcp-y := mptcp_ctrl.o mptcp_ipv4.o mptcp_ofo_queue.o mptcp_pm.o \
           mptcp_output.o mptcp_input.o mptcp_sched.o mptcp_fullmesh.o
 
+# you wouldnt believe how fucked this code are, just look at mptcp repo
+CFLAGS_mptcp_ctrl.o += $(call cc-disable-warning, incompatible-pointer-types)
+CFLAGS_mptcp_ofo_queue.o += $(call cc-disable-warning, incompatible-pointer-types)
+CFLAGS_mptcp_input.o += $(call cc-disable-warning, incompatible-pointer-types)
+
 obj-$(CONFIG_TCP_CONG_LIA) += mptcp_coupled.o
 obj-$(CONFIG_TCP_CONG_OLIA) += mptcp_olia.o
 obj-$(CONFIG_TCP_CONG_WVEGAS) += mptcp_wvegas.o