Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp424563lqo; Fri, 10 May 2024 04:21:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkCkD0F2jfZM3l9pZLN+B/YQGDpQ5AwZvtm5a0BahZx1OrNbRB6d2pXk0v948NFzkKVfCZ6q9LNg+oo39uwcrbtdVLSTTNAiTQaKnqnw== X-Google-Smtp-Source: AGHT+IHsnJnkxi3m+4lbYOZnvLVsBNr9Uq32b4RKudvezDBiMp4YExcvqpEbZXKCXk/iKqjxQh/n X-Received: by 2002:a17:906:22cc:b0:a59:c319:f1e3 with SMTP id a640c23a62f3a-a5a2d53ae7emr149429566b.12.1715340068723; Fri, 10 May 2024 04:21:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715340068; cv=pass; d=google.com; s=arc-20160816; b=m1gOnuSdJv6+WgB3JEy3kf8qO6vn9lPwSP0q5FnsxdssgHLrkm++zSFbwPOz7PIx52 zBpvPRN9L+dIzTfnvI/uaJZC+NMdQ3vPz0ucd7E6dBNZKASGGXbgT4Tvl+7C8uzJAdIs V85ARb5HNjXAFuyBr2b5kM2bBS7l5G9cATr8yENXzJLA8+udeFoQyHrTeCNjJURRg6Eo b/o+OOCX44nQjfYFNHtzj3WkgJUiJJta81nBUACEkIcn4Df0KRJqJd2Rfk71uq2LWrcx RE5B181I450F7TnDtgBOw3J7Pk+/qQCvS8l51ELwXXTRuq+6J7UAIKx2QHTh7ChUN6pr X1Vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=HlFTscwU0cXCMdJq3IYxgLj/8Fy8eNAWuOxnm10Ga3s=; fh=quEeNqdtSTihk0Sjr9Tsd/2OdzTTR5adQM8Csz/bJ2A=; b=rHP6L7NSR58QxB8b34Knb9fc95oeSHK5PUZzDoUCUuIgcoPH9qjhx1qPGDhJ2UWCCA XzhZcrapd55WECqK+vdG6F+FagHbGChkko74rpmJTZ+YFadEzd8DEAlC7aljL1OfKOuI SLgjCKs2CXGkGEMONE9UveY4Q/MUxuf8iaI/x9bHMnakPybcNCXT9I+fEWEdfK5HRil1 /I21uYFzQq5jL0YiCiysFj98csLmtvePnvYYhAk/KKpSrc1SeaoDYj3NzmBIuVeUm3zH DeHVouZp3OhbCgnZBD7QXt8uS20CdvCs9Oc1ShuIpN7dP6adNHAjyUR0RYCqEhr/Rfyh sXmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gksBMzTm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21e28si182166866b.413.2024.05.10.04.21.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 04:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gksBMzTm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5071D1F21817 for ; Fri, 10 May 2024 11:21:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B451171640; Fri, 10 May 2024 11:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gksBMzTm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C95D171647; Fri, 10 May 2024 11:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715339955; cv=none; b=IhAISdGj1KqtkxCvST72a5NZGZlGXAbjrdgvLR6l/PNhWIl6wfHf1Q5R9C2d4MSD4g91F1WaFFSY9atg3ym2kprqtj+wAAg63vlxkLgfTmFokzdr3Lp8mMyQJXv8fqutQaEZrRCdyN0Cwiscz0F/ixpUaGyaRwmRsOyz+NGxNnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715339955; c=relaxed/simple; bh=0qU/gOVgR4w23LOX1Zx5qlGuFAeDrYdyX/AcBPsUaTU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=baC7Sx4vgmjt7uX3B/37npE9x/ybRrhNKVov0XO5llbKP4DopmjMFqy0yZEk3QafizqVxRxdQXyDb0AfZHLzleQ4GfvgIlHFOzY1chLVr6X7PmolnYJX6XeKEecgaBN3RG54lL+i9V4XrEAVT00hJN+LU63nspPua9W8yzRhiAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gksBMzTm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2948C32783; Fri, 10 May 2024 11:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715339955; bh=0qU/gOVgR4w23LOX1Zx5qlGuFAeDrYdyX/AcBPsUaTU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gksBMzTmGSGTENEl2EH6c4CyIwlcoGV/0tklnj7AdXV1WoVD+93L8+1vrZyto+UV4 4kcFvNCw42wPjO4PNtCTjIc6u/PAdWma5AFA1WteqhJb0P7769l41oPgBdr7VVTz91 SWCvLKKCdMRCgdzoIMmKZCsnvJW9mLKKq1mc50lz0GKzr9uOsurdwD3Qw8RuH9ss+L 2HPD62zaDKH6HuJky8qIZCN5Wz1tm/ASSSlWbJU+HWU2nm/gr8LnWuDaW5RauxO+RE CwS9FoUrOgjgoUP6vRen7p33WYMvdNE2hdcrFn/Xe3MuityLBq1BHfEPmzYTed67IJ Jag86unjwxB3Q== From: "Matthieu Baerts (NGI0)" Date: Fri, 10 May 2024 13:18:37 +0200 Subject: [PATCH net-next 7/8] mptcp: move mptcp_pm_gen.h's include Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240510-upstream-net-next-20240509-misc-improvements-v1-7-4f25579e62ba@kernel.org> References: <20240510-upstream-net-next-20240509-misc-improvements-v1-0-4f25579e62ba@kernel.org> In-Reply-To: <20240510-upstream-net-next-20240509-misc-improvements-v1-0-4f25579e62ba@kernel.org> To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Westphal Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Matthieu Baerts (NGI0)" X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1438; i=matttbe@kernel.org; h=from:subject:message-id; bh=0qU/gOVgR4w23LOX1Zx5qlGuFAeDrYdyX/AcBPsUaTU=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBmPgKcyj0TQnpFbvKf9qbjboDG/3ukzMr1dnpsH YHr/OTLFvaJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZj4CnAAKCRD2t4JPQmmg c5gKD/4/Qf6JyFQojNqOHb83IgZ06inLDIryY6SJ8JXugXsJtEQ/2k3cbltqI9xau7TRP376NIU BRlhMQ7C/ni/Q9uRPHUdo2lkXM2flbAFQKSldXOzNkSmL46QwdOd81d4fb+IazfOYPQPIcnQVSr niR1WbRz6LsYl+9nqyaP7sSdNVhzSKwQY93sqdFp1jdrGotMUu36DU0rytvo65f5aIItBgEIgCU oRaYwmv9nc/nsHlbEt8MPvI3lpaIO9vtizq/15ZNTYLZ66MM1seOSmdK0l7+id0ensOOzpj2VAI bSVSS5VrjFKFxnRz0+Zi+kcFgyZW8rb73lFxPlhFF5KmAGr5cC7A7aRvoVH5stCzn4Q2e1yHCT6 A8FFxC/aQ+RuN0Qk8vDuBpgRccYKqeOfGqWjFOf8QHRE38SayzW5zOWSi/0MO4pn+9kPs5QBQ8g 18raPSEs1u1tragJecfRRM84inYKUb8x8leqr8SPpGA/XmDHmBQbZlY1doRSwg7rM9m6MEbkJep HEoR8Shcir2HKwd1qP8bzebzFN8FULwqEgwuCGLgE79JKQ8S/iGNB1Tj2lV5yHPnQwnqCkFzylf Dl4Uk29CQv0OzXbTPGa9SFYkZBBhuHkJJ0IgzWfBwZy8xwgs0yq3F31n3MLyfrCdwo5Dge+t2Kx Y953lIbJWdEmdHA== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 Nothing from protocol.h depends on mptcp_pm_gen.h, only code from pm_netlink.c and pm_userspace.c depends on it. So this include can be moved where it is needed to avoid a "unused includes" warning. Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) --- net/mptcp/pm_netlink.c | 1 + net/mptcp/pm_userspace.c | 1 + net/mptcp/protocol.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c index 5c17d39146ea..7f53e022e27e 100644 --- a/net/mptcp/pm_netlink.c +++ b/net/mptcp/pm_netlink.c @@ -14,6 +14,7 @@ #include "protocol.h" #include "mib.h" +#include "mptcp_pm_gen.h" static int pm_nl_pernet_id; diff --git a/net/mptcp/pm_userspace.c b/net/mptcp/pm_userspace.c index 9f5d422d5ef6..f0a4590506c6 100644 --- a/net/mptcp/pm_userspace.c +++ b/net/mptcp/pm_userspace.c @@ -6,6 +6,7 @@ #include "protocol.h" #include "mib.h" +#include "mptcp_pm_gen.h" void mptcp_free_local_addr_list(struct mptcp_sock *msk) { diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 39fc47e6b88a..7aa47e2dd52b 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -14,8 +14,6 @@ #include #include -#include "mptcp_pm_gen.h" - #define MPTCP_SUPPORTED_VERSION 1 /* MPTCP option bits */ -- 2.43.0