[PATCH][V2] atm: iphase: fix newline escape and minor tweak to source formatting Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit

Subsystems: atm, the rest

STALE3682d

2 messages, 2 authors, 2016-09-15 · open the first message on its own page

[PATCH][V2] atm: iphase: fix newline escape and minor tweak to source formatting Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit

From: Colin King <hidden>
Date: 2016-09-12 12:03:21

From: Colin Ian King <redacted>

The newline escape is incorrect and needs fixing. Also adjust source
formatting / indentation and add { } to trailing else.

Signed-off-by: Colin Ian King <redacted>
---
 drivers/atm/iphase.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 9d8807e..ddb244e 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -1885,9 +1885,9 @@ static int open_tx(struct atm_vcc *vcc)
                 if ((ret = ia_cbr_setup (iadev, vcc)) < 0) {     
                     return ret;
                 }
-       } 
-	else  
-           printk("iadev:  Non UBR, ABR and CBR traffic not supportedn"); 
+	} else {
+		printk("iadev:  Non UBR, ABR and CBR traffic not supported\n");
+	}
         
         iadev->testTable[vcc->vci]->vc_status |= VC_ACTIVE;
 	IF_EVENT(printk("ia open_tx returning \n");)  
-- 
2.9.3

Re: [PATCH][V2] atm: iphase: fix newline escape and minor tweak to source formatting

From: David Miller <davem@davemloft.net>
Date: 2016-09-15 23:16:49

From: Colin King <redacted>
Date: Mon, 12 Sep 2016 13:01:50 +0100
From: Colin Ian King <redacted>

The newline escape is incorrect and needs fixing. Also adjust source
formatting / indentation and add { } to trailing else.

Signed-off-by: Colin Ian King <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help