Skip to content

Commit a0e2877

Browse files
hundebollordex
authored andcommitted
batman-adv: kernel doc fixes for main.{c, h}
Signed-off-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
1 parent ba97abb commit a0e2877

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎net/batman-adv/main.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ static struct batadv_tvlv_handler
651651
/**
652652
* batadv_tvlv_container_free_ref - decrement the tvlv container refcounter and
653653
* possibly free it
654-
* @tvlv_handler: the tvlv container to free
654+
* @tvlv: the tvlv container to free
655655
*/
656656
static void batadv_tvlv_container_free_ref(struct batadv_tvlv_container *tvlv)
657657
{
@@ -800,7 +800,7 @@ void batadv_tvlv_container_register(struct batadv_priv *bat_priv,
800800
* requested packet size
801801
* @packet_buff: packet buffer
802802
* @packet_buff_len: packet buffer size
803-
* @packet_min_len: requested packet minimum size
803+
* @min_packet_len: requested packet minimum size
804804
* @additional_packet_len: requested additional packet size on top of minimum
805805
* size
806806
*

‎net/batman-adv/main.h‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@
9292
/* numbers of originator to contact for any PUT/GET DHT operation */
9393
#define BATADV_DAT_CANDIDATES_NUM 3
9494

95-
/**
96-
* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ
97-
* at most from the primary one in order to be still considered acceptable
95+
/* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ
96+
* at most from the primary one in order to be still considered acceptable
9897
*/
9998
#define BATADV_TQ_SIMILARITY_THRESHOLD 50
10099

0 commit comments

Comments
 (0)