Skip to content

Commit 549750b

Browse files
T-Xsimonwunderlich
authored andcommitted
batman-adv: Fix order of kernel doc in batadv_priv
During the inlining process of kerneldoc in commit 8b84cc4 ("batman-adv: Use inline kernel-doc for enum/struct"), some comments were placed at the wrong struct members. Fixing this by reordering the comments. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
1 parent b1de0f0 commit 549750b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

net/batman-adv/types.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,19 +1659,19 @@ struct batadv_priv {
16591659
/** @tp_list: list of tp sessions */
16601660
struct hlist_head tp_list;
16611661

1662-
/** @tp_num: number of currently active tp sessions */
1662+
/** @orig_hash: hash table containing mesh participants (orig nodes) */
16631663
struct batadv_hashtable *orig_hash;
16641664

1665-
/** @orig_hash: hash table containing mesh participants (orig nodes) */
1665+
/** @forw_bat_list_lock: lock protecting forw_bat_list */
16661666
spinlock_t forw_bat_list_lock;
16671667

1668-
/** @forw_bat_list_lock: lock protecting forw_bat_list */
1668+
/** @forw_bcast_list_lock: lock protecting forw_bcast_list */
16691669
spinlock_t forw_bcast_list_lock;
16701670

1671-
/** @forw_bcast_list_lock: lock protecting forw_bcast_list */
1671+
/** @tp_list_lock: spinlock protecting @tp_list */
16721672
spinlock_t tp_list_lock;
16731673

1674-
/** @tp_list_lock: spinlock protecting @tp_list */
1674+
/** @tp_num: number of currently active tp sessions */
16751675
atomic_t tp_num;
16761676

16771677
/** @orig_work: work queue callback item for orig node purging */

0 commit comments

Comments
 (0)