batman-adv: Add missing forward declaration for net_device
Sven Eckelmann
maintainerPATCH 1/1 batman-adv: Add missing forward declaration for net_device
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 <[email protected]>
--- net/batman-adv/bridge_loop_avoidance.h | 1 + 1 file changed, 1 insertion(+)
net/batman-adv/bridge_loop_avoidance.h +1 -0
@@ -22,6 +22,7 @@#include <linux/types.h> +struct net_device ;struct seq_file ;struct sk_buff ;
Signature · 1 line
2.6.2
Marek Lindner
AppliedQuoted 9 lines · On Sunday, November 22, 2015 00:59:30 Sven Eckelmann wrote:
A new function
batadv_bla_status_updatewas introduced which uses the not yet defined structnet_deviceas parameter. Add the forward declaration to avoid compiler warnings about type declarations inside parameter list.Fixes 07ed3c31d795 ("batman-adv: purge bridge loop avoidance when itsdisabled") Signed-off-by: Sven Eckelmann <[email protected]>
--- net/batman-adv/bridge_loop_avoidance.h | 1 + 1 file changed, 1 insertion(+)
Applied in revision 5b0b10e.
Thanks,
Marek