From patchwork Fri Apr 29 19:15:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 15991 Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id 9034282300; Fri, 29 Apr 2016 21:15:42 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=none header.from=narfation.org Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=QKL/L2G4; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=79.140.41.39; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id D52B0822EB for ; Fri, 29 Apr 2016 21:15:11 +0200 (CEST) Received: from sven-edge.localnet (p200300C593C12BFD0000000000002E16.dip0.t-ipconnect.de [IPv6:2003:c5:93c1:2bfd::2e16]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id C83311100F1; Fri, 29 Apr 2016 21:15:10 +0200 (CEST) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1461957310; bh=lFhYwUAZwJp1UWi1z16mVabo0VEf0F8rizeRAep+lkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QKL/L2G4rZXMLrxlSsf3vJbIG2gPtlphAwLiePzGaTIy57TxDRVyDv5jk79YY+USz ghByEyIWQh9GNy0T+55Mp2wZ7hPPXNdvAiaqQ4obZTDBoFSz8g32KjgrZqIizMO3aF 4Yx2V1YuuweaM3a6ylsZaVziA1q+8H/oMpMB5FwM= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 29 Apr 2016 21:15:10 +0200 Message-ID: <1946034.2sgYLFZ0kQ@sven-edge> User-Agent: KMail/4.14.10 (Linux/4.5.0-1-amd64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <1461875848-11720-6-git-send-email-andrew@lunn.ch> References: <1461875848-11720-1-git-send-email-andrew@lunn.ch> <1461875848-11720-6-git-send-email-andrew@lunn.ch> MIME-Version: 1.0 Subject: Re: [B.A.T.M.A.N.] [PATCH 05/10] batman-adv: netlink: add originator and neighbor table queries X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" On Thursday 28 April 2016 22:37:23 Andrew Lunn wrote: > From: Matthias Schiffer > > Add BATADV_CMD_GET_ORIGINATORS and BATADV_CMD_GET_NEIGHBORS commands, > using handlers bat_orig_dump and bat_neigh_dump in batadv_algo_ops. Will > always return -EOPNOTSUPP for now, as no implementations exist yet. > > Signed-off-by: Matthias Schiffer > --- > include/uapi/linux/batman_adv.h | 2 + > net/batman-adv/netlink.c | 13 ++++ > net/batman-adv/originator.c | 142 > ++++++++++++++++++++++++++++++++++++++++ net/batman-adv/originator.h | > 2 + > net/batman-adv/types.h | 7 ++ > 5 files changed, 166 insertions(+) You can find the missing includes in the attached patch Kind regards, Sven From: Sven Eckelmann Date: Fri, 29 Apr 2016 20:51:44 +0200 Subject: [PATCH] missing includes 5 --- net/batman-adv/netlink.c | 1 + net/batman-adv/originator.c | 2 ++ net/batman-adv/originator.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index 1d7dc27..a01bdf5 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -33,6 +33,7 @@ #include #include +#include "originator.h" #include "hard-interface.h" #include "soft-interface.h" #include "translation-table.h" diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 3e053e1..d2ccbf3 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -28,8 +28,10 @@ #include #include #include +#include #include #include +#include #include #include #include diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index a8eb520..5c932d5 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h @@ -31,7 +31,9 @@ #include "hash.h" +struct netlink_callback; struct seq_file; +struct sk_buff; bool batadv_compare_orig(const struct hlist_node *node, const void *data2); int batadv_originator_init(struct batadv_priv *bat_priv);