batman-adv: a multiline comment should precede the variable it is describing
Commit Message
This comment has been wrongly put after the variable it refers to and was also bad indented
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
types.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Comments
Antonio Quartulli wrote:
> This comment has been wrongly put after the variable it refers to and was
> also bad indented
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
>
> types.h | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/types.h b/types.h
> index fab70e8..65b3222 100644
> --- a/types.h
> +++ b/types.h
> @@ -246,10 +246,10 @@ struct frag_packet_list_entry {
> };
>
> struct vis_info {
> - unsigned long first_seen;
> - struct list_head recv_list;
> - /* list of server-neighbors we received a vis-packet
> - * from. we should not reply to them. */
> + unsigned long first_seen;
> + /* list of server-neighbors we received a vis-packet
> + * from. we should not reply to them. */
> + struct list_head recv_list;
> struct list_head send_list;
> struct kref refcount;
> struct hlist_node hash_entry;
Acked-by: Sven Eckelmann <sven@narfation.org>
On Wednesday 18 May 2011 16:47:23 Antonio Quartulli wrote:
> This comment has been wrongly put after the variable it refers to and was
> also bad indented
Applied in revision 8f8ca05.
Thanks,
Marek
@@ -246,10 +246,10 @@ struct frag_packet_list_entry {
};
struct vis_info {
- unsigned long first_seen;
- struct list_head recv_list;
- /* list of server-neighbors we received a vis-packet
- * from. we should not reply to them. */
+ unsigned long first_seen;
+ /* list of server-neighbors we received a vis-packet
+ * from. we should not reply to them. */
+ struct list_head recv_list;
struct list_head send_list;
struct kref refcount;
struct hlist_node hash_entry;