mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark <reodge@gmail.com>
To: gregkh@suse.de, andrew@lunn.ch, lindner_marek@yahoo.de,
	siwu@hrz.tu-chemnitz.de, sven.eckelmann@gmx.de
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Mark <reodge@gmail.com>
Subject: [PATCH] Staging: batman-adv: fixed comments to maintain 80 char limit
Date: Tue, 27 Apr 2010 17:44:09 +0800	[thread overview]
Message-ID: <1272361449-15416-1-git-send-email-reodge@gmail.com> (raw)

This patches types.h to make sure the comments adhere to the 80 char limit and
make checkpatch.pl happy

Signed-off-by: Mark Rankilor <reodge@gmail.com>
---
 drivers/staging/batman-adv/types.h |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/batman-adv/types.h b/drivers/staging/batman-adv/types.h
index dec1b54..7d4768a 100644
--- a/drivers/staging/batman-adv/types.h
+++ b/drivers/staging/batman-adv/types.h
@@ -46,7 +46,7 @@ struct batman_if {
 
 };
 
-struct orig_node {               /* structure for orig_list maintaining nodes of mesh */
+struct orig_node { /* structure for orig_list maintaining nodes of mesh */
 	uint8_t orig[ETH_ALEN];
 	struct neigh_node *router;
 	struct batman_if *batman_if;
@@ -54,15 +54,18 @@ struct orig_node {               /* structure for orig_list maintaining nodes of
 	uint8_t *bcast_own_sum;
 	uint8_t tq_own;
 	int tq_asym_penalty;
-	unsigned long last_valid;        /* when last packet from this node was received */
-/*	uint8_t  gwflags;      * flags related to gateway functions: gateway class */
+	unsigned long last_valid; /* when last packet from this node was
+				   * received */
+/*	uint8_t  gwflags;  * flags related to gateway functions:
+			   * gateway class */
 	uint8_t  flags;    		/* for now only VIS_SERVER flag. */
 	unsigned char *hna_buff;
 	int16_t  hna_buff_len;
 	uint16_t last_real_seqno;   /* last and best known squence number */
 	uint8_t last_ttl;         /* ttl of last received packet */
 	TYPE_OF_WORD bcast_bits[NUM_WORDS];
-	uint16_t last_bcast_seqno;  /* last broadcast sequence number received by this host */
+	uint16_t last_bcast_seqno;  /* last broadcast sequence number received
+				     * by this host */
 	struct list_head neigh_list;
 };
 
@@ -74,7 +77,8 @@ struct neigh_node {
 	uint8_t tq_index;
 	uint8_t tq_avg;
 	uint8_t last_ttl;
-	unsigned long last_valid;            /* when last packet via this neighbor was received */
+	unsigned long last_valid; /* when last packet via this neighbor was
+				   * received */
 	TYPE_OF_WORD real_bits[NUM_WORDS];
 	struct orig_node *orig_node;
 	struct batman_if *if_incoming;
@@ -108,7 +112,8 @@ struct hna_global_entry {
 	struct orig_node *orig_node;
 };
 
-struct forw_packet {               /* structure for forw_list maintaining packets to be send/forwarded */
+struct forw_packet { /* structure for forw_list maintaining packets to be
+		      * send/forwarded */
 	struct hlist_node list;
 	unsigned long send_time;
 	uint8_t own;
-- 
1.7.0.5


             reply	other threads:[~2010-04-27  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27  9:44 Mark [this message]
2010-04-27  9:53 ` Sven Eckelmann
2010-04-28 13:33   ` Mark Rankilor
2010-04-28 14:44     ` Greg KH
2010-04-28 17:47     ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1272361449-15416-1-git-send-email-reodge@gmail.com \
    --to=reodge@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=lindner_marek@yahoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=siwu@hrz.tu-chemnitz.de \
    --cc=sven.eckelmann@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®