From patchwork Wed Nov 15 17:59:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 18611 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id EEC2483D48 for ; Wed, 15 Nov 2023 19:04:37 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1700071477; b=BoKdu0sq0CIlgp53Nfj1XCZN0ZZITiEBy/9Br3nWSkp1LpXUdnn9Wq0xPe2mO9NfBqj// Ps2LQ/bNvZS+yThaRm4TKCeXEHvtb2E1k6Rf65cVZhp7NOEGXuEg3zVXJ5WlXY07oJv6wuB dtjNvw+xitYPaFc2CqkJZD5y3fRApzo= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1700071477; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=YXIRNjcVNCfCXfIyVroFnOGCglfMH78XSKSBMhJWceM=; b=bcSJ4JE1rLzsVGVt6V8FKqbgGw+/sbIqXHQdZhlI9tvFUpDtvKUP8ivvokBV9Bzt10uUm 3fMXyj7ZDH96uDzrMRFytmQKmdX0VJSAh8TYfQRZstpjKBrEORT7LU/dHjp9rL6pVr43FPR tXkuQT1e7n46WIAcKniLl8XKjaGms/U= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 405FB83D32 for ; Wed, 15 Nov 2023 18:59:49 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1700071190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YXIRNjcVNCfCXfIyVroFnOGCglfMH78XSKSBMhJWceM=; b=MBmez8MB06HdAiUadkOXH7xic6qScYO2MEhE8mFBt3aKb7T3dyFsHmEjlaXCGblwxDV155 5Sj35578d1Pr3mRwdDriUDA01BG4pO7TLUvuw5eCwg142EeIGGgPJCa0xLELUO6tK5uoJG ADVaDnZYHZg6Zk3yYWLxMAOcAjfWAFo= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; dmarc=pass (policy=none) header.from=simonwunderlich.de; spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 2a01:4f8:c17:e8c0::1 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1700071190; a=rsa-sha256; cv=none; b=Bu71Klsbsa//p9jval+jjGYd44jodFRWMTE7AvAStsXWxmi5QX9n/Gt6Ql779juQvmEdrq +DOrQB3V8Sg5WBlimke3/83AQgJck6uDLFT45e2hrKuE4mMyqwrFYO2cBpErN4C9txfgVp Tpn3dktqXglcn5VXs2i3pq6E1ylMQCM= Received: from kero.packetmixer.de (p200300FA2706340047BD8a14B9c54dBB.dip0.t-ipconnect.de [IPv6:2003:fa:2706:3400:47bd:8a14:b9c5:4dbb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id 08D8BFB606; Wed, 15 Nov 2023 18:59:49 +0100 (CET) From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich Subject: [PATCH 6/6] batman-adv: Switch to linux/array_size.h Date: Wed, 15 Nov 2023 18:59:32 +0100 Message-Id: <20231115175932.127605-7-sw@simonwunderlich.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231115175932.127605-1-sw@simonwunderlich.de> References: <20231115175932.127605-1-sw@simonwunderlich.de> MIME-Version: 1.0 Message-ID-Hash: 5C462VJRDBTPSHZPRQLXJ2LNQAL4LKMK X-Message-ID-Hash: 5C462VJRDBTPSHZPRQLXJ2LNQAL4LKMK X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Sven Eckelmann The commit 3cd39bc3b11b ("kernel.h: Move ARRAY_SIZE() to a separate header") introduced a new header for the ARRAY_SIZE macro which was previously exposed via linux/kernel.h. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/main.c | 2 +- net/batman-adv/netlink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index e8c25583a127..5fc754b0b3f7 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -6,6 +6,7 @@ #include "main.h" +#include #include #include #include @@ -20,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index 0c64d81a7761..1f7ed9d4f6fd 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -7,6 +7,7 @@ #include "netlink.h" #include "main.h" +#include #include #include #include @@ -20,7 +21,6 @@ #include #include #include -#include #include #include #include