public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 01/13] batman-adv: kernel doc fixes for bat_iv_ogm.c
@ 2014-07-11 12:26 Martin Hundebøll
  2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 02/13] batman-adv: kernel doc fixes for bridge_loop_avoidance.c Martin Hundebøll
                   ` (11 more replies)
  0 siblings, 12 replies; 19+ messages in thread
From: Martin Hundebøll @ 2014-07-11 12:26 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Martin Hundebøll

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
---
 bat_iv_ogm.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c
index 1e80539..73209f3 100644
--- a/bat_iv_ogm.c
+++ b/bat_iv_ogm.c
@@ -28,7 +28,7 @@
 
 
 /**
- * batadv_dup_status - duplicate status
+ * enum batadv_dup_status - duplicate status
  * @BATADV_NO_DUP: the packet is a duplicate
  * @BATADV_ORIG_DUP: OGM is a duplicate in the originator (but not for the
  *  neighbor)
@@ -517,7 +517,7 @@ out:
  * @bat_priv: the bat priv with all the soft interface information
  * @packet_len: (total) length of the OGM
  * @send_time: timestamp (jiffies) when the packet is to be sent
- * @direktlink: true if this is a direct link packet
+ * @directlink: true if this is a direct link packet
  * @if_incoming: interface where the packet was received
  * @if_outgoing: interface for which the retransmission should be considered
  * @forw_packet: the forwarded packet which should be checked
@@ -1366,6 +1366,7 @@ out:
 /**
  * batadv_iv_ogm_process_per_outif - process a batman iv OGM for an outgoing if
  * @skb: the skb containing the OGM
+ * @ogm_offset: offset from skb->data to start of ogm header
  * @orig_node: the (cached) orig node for the originator of this OGM
  * @if_incoming: the interface where this packet was received
  * @if_outgoing: the interface for which the packet should be considered
@@ -1902,10 +1903,10 @@ out:
  * batadv_iv_ogm_neigh_is_eob - check if neigh1 is equally good or better than
  *  neigh2 from the metric prospective
  * @neigh1: the first neighbor object of the comparison
- * @if_outgoing: outgoing interface for the first neighbor
+ * @if_outgoing1: outgoing interface for the first neighbor
  * @neigh2: the second neighbor object of the comparison
  * @if_outgoing2: outgoing interface for the second neighbor
-
+ *
  * Returns true if the metric via neigh1 is equally good or better than
  * the metric via neigh2, false otherwise.
  */
-- 
2.0.1


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 03/13] batman-adv: kernel doc fix for distributed-arp-table.h
@ 2014-07-11 14:46 Martin Hundebøll
  0 siblings, 0 replies; 19+ messages in thread
From: Martin Hundebøll @ 2014-07-11 14:46 UTC (permalink / raw)
  To: Antonio Quartulli
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking


On Jul 11, 2014 3:05 PM, Antonio Quartulli <antonio@meshcoding.com> wrote:
>
>
>
> On 11/07/14 14:26, Martin Hundebøll wrote: 
> > Signed-off-by: Martin Hundebøll <martin@hundeboll.net> 
> > --- 
> >  distributed-arp-table.h | 4 +--- 
> >  1 file changed, 1 insertion(+), 3 deletions(-) 
> > 
> > diff --git a/distributed-arp-table.h b/distributed-arp-table.h 
> > index d76e1d0..2fe0764 100644 
> > --- a/distributed-arp-table.h 
> > +++ b/distributed-arp-table.h 
> > @@ -25,9 +25,7 @@ 
> >  
> >  #include <linux/if_arp.h> 
> >  
> > -/** 
> > - * BATADV_DAT_ADDR_MAX - maximum address value in the DHT space 
> > - */ 
> > +/* BATADV_DAT_ADDR_MAX - maximum address value in the DHT space */ 
>
> How can this be detected as kernel doc if you removed the starting  /** ?

It is not kernel doc. I couldn't find any documentation about defines in the nano-kernel-doc-doc, and since the kernel doc script complained, I chose to remove it..

// Martin

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-07-14 16:28 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 12:26 [B.A.T.M.A.N.] [PATCH 01/13] batman-adv: kernel doc fixes for bat_iv_ogm.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 02/13] batman-adv: kernel doc fixes for bridge_loop_avoidance.c Martin Hundebøll
2014-07-11 13:06   ` Antonio Quartulli
2014-07-14 11:49     ` Simon Wunderlich
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 03/13] batman-adv: kernel doc fix for distributed-arp-table.h Martin Hundebøll
2014-07-11 13:05   ` Antonio Quartulli
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 04/13] batman-adv: kernel doc fixes for main.{c, h} Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 05/13] batman-adv: kernel doc fix for multicast.h Martin Hundebøll
2014-07-14 16:28   ` Linus Lüssing
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 06/13] batman-adv: kernel doc fixes for originator.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 07/13] batman-adv: kernel doc fixes for packet.h Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 08/13] batman-adv: kernel doc fix for routing.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 09/13] batman-adv: kernel doc fix for send.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 10/13] batman-adv: kernel doc fixes for soft-interface.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 11/13] batman-adv: kernel doc fixes for sysfs.{c, h} Martin Hundebøll
2014-07-14 11:56   ` Antonio Quartulli
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 12/13] batman-adv: kernel fixes for translation-table.c Martin Hundebøll
2014-07-11 12:26 ` [B.A.T.M.A.N.] [PATCH 13/13] batman-adv: kernel doc fixes for types.h Martin Hundebøll
  -- strict thread matches above, loose matches on Subject: below --
2014-07-11 14:46 [B.A.T.M.A.N.] [PATCH 03/13] batman-adv: kernel doc fix for distributed-arp-table.h Martin Hundebøll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox