]> git.karo-electronics.de Git - linux-beck.git/commitdiff
batman-adv: Close two alignment holes in batadv_hard_iface
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 30 Sep 2016 13:21:01 +0000 (15:21 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 30 Oct 2016 10:11:33 +0000 (11:11 +0100)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/types.h

index 673a22e3a68a20704bebab1e326fc82190da3b05..c9db184bfef8929992e82e3dffe26c306cb92cfc 100644 (file)
@@ -123,8 +123,8 @@ struct batadv_hard_iface_bat_v {
  * @list: list node for batadv_hardif_list
  * @if_num: identificator of the interface
  * @if_status: status of the interface for batman-adv
- * @net_dev: pointer to the net_device
  * @num_bcasts: number of payload re-broadcasts on this interface (ARQ)
+ * @net_dev: pointer to the net_device
  * @hardif_obj: kobject of the per interface sysfs "mesh" directory
  * @refcount: number of contexts the object is used
  * @batman_adv_ptype: packet type describing packets that should be processed by
@@ -141,8 +141,8 @@ struct batadv_hard_iface {
        struct list_head list;
        s16 if_num;
        char if_status;
-       struct net_device *net_dev;
        u8 num_bcasts;
+       struct net_device *net_dev;
        struct kobject *hardif_obj;
        struct kref refcount;
        struct packet_type batman_adv_ptype;