Skip to content

Commit 4667bf7

Browse files
committed
Merge tag 'batadv-next-pullrequest-20210408' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says: ==================== This cleanup patchset includes the following patches: - for kerneldoc in batadv_priv, by Linus Luessing - drop unused header preempt.h, by Sven Eckelmann - Fix misspelled "wont", by Sven Eckelmann ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents c5f77ad + 35796c1 commit 4667bf7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

net/batman-adv/bat_iv_ogm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ batadv_iv_ogm_can_aggregate(const struct batadv_ogm_packet *new_bat_ogm_packet,
456456
* if:
457457
*
458458
* - the send time is within our MAX_AGGREGATION_MS time
459-
* - the resulting packet wont be bigger than
459+
* - the resulting packet won't be bigger than
460460
* MAX_AGGREGATION_BYTES
461461
* otherwise aggregation is not possible
462462
*/

net/batman-adv/bridge_loop_avoidance.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <linux/lockdep.h>
2626
#include <linux/netdevice.h>
2727
#include <linux/netlink.h>
28-
#include <linux/preempt.h>
2928
#include <linux/rculist.h>
3029
#include <linux/rcupdate.h>
3130
#include <linux/skbuff.h>

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)