From: Michael Benedict Date: Tue, 26 Mar 2019 08:41:29 +0000 (-0700) Subject: mptcp: disable incompatible-pointer-types warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=414b7ebad56a08984a61d0b5460b6678c3da10e4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mptcp: disable incompatible-pointer-types warnings Signed-off-by: Michael Benedict --- diff --git a/net/mptcp/Makefile b/net/mptcp/Makefile index 2520e8b0d437..e82da35e1baf 100644 --- a/net/mptcp/Makefile +++ b/net/mptcp/Makefile @@ -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