Re: [B.A.T.M.A.N.] [PATCH 07/10] batman-adv: add B.A.T.M.A.N. V bat_{orig, neigh}_dump implementations

Sven Eckelmann
2016-04-29T19:15:15Z

[-- Attachment #1.1: Type: text/plain, Size: 1938 bytes --]

=2D-nextPart5279766.BGegk0089z
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Thursday 28 April 2016 22:37:25 Andrew Lunn wrote:
> From: Matthias Schiffer <mschiffer@universe-factory.net>
>
> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
> ---
> include/uapi/linux/batman_adv.h | 1 +
> net/batman-adv/bat_v.c | 250
> ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 251 insertions(+)

You can find the missing includes in the attached patch

Kind regards,
Sven
=2D-nextPart5279766.BGegk0089z
Content-Disposition: attachment; filename="0015-missing-includes-7.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="0015-missing-includes-7.patch"

From: Sven Eckelmann <sven@narfation.org>
Date: Fri, 29 Apr 2016 20:58:10 +0200
Subject: [PATCH] missing includes 7
=2D--
net/batman-adv/bat_v.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c
index 1630684..cb890b7 100644
=2D-- a/net/batman-adv/bat_v.c
+++ b/net/batman-adv/bat_v.c
@@ -21,14 +21,19 @@
#include <linux/atomic.h>
#include <linux/bug.h>
#include <linux/cache.h>
+#include <linux/errno.h>
+#include <linux/if_ether.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/netdevice.h>
+#include <linux/netlink.h>
#include <linux/rculist.h>
#include <linux/rcupdate.h>
#include <linux/seq_file.h>
#include <linux/types.h>
#include <linux/workqueue.h>
+#include <net/genetlink.h>
+#include <net/netlink.h>
#include <uapi/linux/batman_adv.h>

#include "bat_v_elp.h"
@@ -39,6 +44,8 @@
#include "originator.h"
#include "packet.h"

+struct sk_buff;
+
static void batadv_v_iface_activate(struct batadv_hard_iface *hard_iface)
{
/* B.A.T.M.A.N. V does not use any queuing mechanism, therefore it can

=2D-nextPart5279766.BGegk0089z--
This is a multi-part message in MIME format.

[-- Attachment #1.2: Type: text/plain, Size: 429 bytes --]

On Thursday 28 April 2016 22:37:25 Andrew Lunn wrote:
> From: Matthias Schiffer <mschiffer@universe-factory.net>
>
> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
> ---
> include/uapi/linux/batman_adv.h | 1 +
> net/batman-adv/bat_v.c | 250
> ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 251 insertions(+)

You can find the missing includes in the attached patch

Kind regards,
Sven

[-- Attachment #1.3: 0015-missing-includes-7.patch --]
[-- Type: text/x-patch, Size: 1096 bytes --]

From: Sven Eckelmann <sven@narfation.org>
Date: Fri, 29 Apr 2016 20:58:10 +0200
Subject: [PATCH] missing includes 7
---
net/batman-adv/bat_v.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c
index 1630684..cb890b7 100644
--- a/net/batman-adv/bat_v.c
+++ b/net/batman-adv/bat_v.c
@@ -21,14 +21,19 @@
#include <linux/atomic.h>
#include <linux/bug.h>
#include <linux/cache.h>
+#include <linux/errno.h>
+#include <linux/if_ether.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/netdevice.h>
+#include <linux/netlink.h>
#include <linux/rculist.h>
#include <linux/rcupdate.h>
#include <linux/seq_file.h>
#include <linux/types.h>
#include <linux/workqueue.h>
+#include <net/genetlink.h>
+#include <net/netlink.h>
#include <uapi/linux/batman_adv.h>

#include "bat_v_elp.h"
@@ -39,6 +44,8 @@
#include "originator.h"
#include "packet.h"

+struct sk_buff;
+
static void batadv_v_iface_activate(struct batadv_hard_iface *hard_iface)
{
/* B.A.T.M.A.N. V does not use any queuing mechanism, therefore it can