summaryrefslogtreecommitdiff
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorMark Hounschell <markh@compro.net>2014-03-10 15:46:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 14:32:03 -0700
commit93fb1e256aab973885db4754861f859848f86f64 (patch)
tree5d3fadd4fbb434dc96cbf095c62e8b0e29623d63 /drivers/staging/dgap
parent84e88287d84bf9bb6c3825112e60cebe503c0296 (diff)
staging: dgap: fix a few more 80+ char lines (02/02)
This patch fixes a few more 80+ char lines as reported by checkpatch Signed-off-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index 44c18b8e026e..1995232f5606 100644
--- a/drivers/staging/dgap/dgap.c
+++ b/drivers/staging/dgap/dgap.c
@@ -7582,7 +7582,9 @@ static char *dgap_getword(char **in)
*in = ptr + 1;
/* Eat any extra spaces/tabs/newlines that might be present */
- while (*in && **in && ((**in == ' ') || (**in == '\t') || (**in == '\n'))) {
+ while (*in && **in && ((**in == ' ') ||
+ (**in == '\t') ||
+ (**in == '\n'))) {
**in = '\0';
*in = *in + 1;
}
@@ -7765,7 +7767,8 @@ static struct cnode *dgap_find_config(int type, int bus, int slot)
found = p;
/*
- * Keep walking thru the list till we find the next board.
+ * Keep walking thru the list till we
+ * find the next board.
*/
while (p->next != NULL) {
prev2 = p;
@@ -7773,13 +7776,16 @@ static struct cnode *dgap_find_config(int type, int bus, int slot)
if (p->type == BNODE) {
/*
- * Mark the end of our 1 board chain of configs.
+ * Mark the end of our 1 board
+ * chain of configs.
*/
prev2->next = NULL;
/*
- * Link the "next" board to the previous board,
- * effectively "unlinking" our board from the main config.
+ * Link the "next" board to the
+ * previous board, effectively
+ * "unlinking" our board from
+ * the main config.
*/
prev->next = p;
@@ -7855,9 +7861,9 @@ static char *dgap_create_config_string(struct board_t *bd, char *string)
case CNODE:
/*
* Because the EPC/con concentrators can have EM modules
- * hanging off of them, we have to walk ahead in the list
- * and keep adding the number of ports on each EM to the config.
- * UGH!
+ * hanging off of them, we have to walk ahead in the
+ * list and keep adding the number of ports on each EM
+ * to the config. UGH!
*/
speed = p->u.conc.speed;
q = p->next;
@@ -7865,7 +7871,9 @@ static char *dgap_create_config_string(struct board_t *bd, char *string)
*ptr = (p->u.conc.nport + 0x80);
ptr++;
p = q;
- while ((q->next != NULL) && (q->next->type) == MNODE) {
+ while ((q->next != NULL) &&
+ (q->next->type) == MNODE) {
+
*ptr = (q->u.module.nport + 0x80);
ptr++;
p = q;