atm: iphase: fix newline escape and minor tweak to source formatting
authorColin Ian King <colin.king@canonical.com>
Mon, 12 Sep 2016 12:01:50 +0000 (13:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2016 23:15:55 +0000 (19:15 -0400)
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>
drivers/atm/iphase.c

index 9d8807e..b275676 100644 (file)
@@ -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");)