* [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing forward declaration for net_device
@ 2015-11-21 23:59 Sven Eckelmann
2015-11-22 3:14 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2015-11-21 23:59 UTC (permalink / raw)
To: b.a.t.m.a.n
A new function batadv_bla_status_update was introduced which uses the not
yet defined struct net_device as parameter. Add the forward declaration to
avoid compiler warnings about type declarations inside parameter list.
Fixes: 07ed3c31d795 ("batman-adv: purge bridge loop avoidance when its disabled")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
net/batman-adv/bridge_loop_avoidance.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/bridge_loop_avoidance.h b/net/batman-adv/bridge_loop_avoidance.h
index db1aeb5..7ea199b 100644
--- a/net/batman-adv/bridge_loop_avoidance.h
+++ b/net/batman-adv/bridge_loop_avoidance.h
@@ -22,6 +22,7 @@
#include <linux/types.h>
+struct net_device;
struct seq_file;
struct sk_buff;
--
2.6.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing forward declaration for net_device
2015-11-21 23:59 [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing forward declaration for net_device Sven Eckelmann
@ 2015-11-22 3:14 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2015-11-22 3:14 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
On Sunday, November 22, 2015 00:59:30 Sven Eckelmann wrote:
> A new function batadv_bla_status_update was introduced which uses the not
> yet defined struct net_device as parameter. Add the forward declaration to
> avoid compiler warnings about type declarations inside parameter list.
>
> Fixes: 07ed3c31d795 ("batman-adv: purge bridge loop avoidance when its
> disabled") Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> net/batman-adv/bridge_loop_avoidance.h | 1 +
> 1 file changed, 1 insertion(+)
Applied in revision 5b0b10e.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-22 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 23:59 [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing forward declaration for net_device Sven Eckelmann
2015-11-22 3:14 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox