Browse Source

atm: iphase: fix newline escape and minor tweak to source formatting

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Colin Ian King 9 years ago
parent
commit
d560846e40
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/atm/iphase.c

+ 3 - 3
drivers/atm/iphase.c

@@ -1885,9 +1885,9 @@ static int open_tx(struct atm_vcc *vcc)
                 if ((ret = ia_cbr_setup (iadev, vcc)) < 0) {     
                 if ((ret = ia_cbr_setup (iadev, vcc)) < 0) {     
                     return ret;
                     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;
         iadev->testTable[vcc->vci]->vc_status |= VC_ACTIVE;
 	IF_EVENT(printk("ia open_tx returning \n");)  
 	IF_EVENT(printk("ia open_tx returning \n");)