Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1481085

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

Path csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Colin King <colin.king@canonical.com>
Newsgroups linux.kernel
Subject [PATCH] atm: iphase: fix newline escape and minor tweak to source formatting
Date Mon, 12 Sep 2016 11:40:02 +0200
Message-ID <sgvSy-1oS-31@gated-at.bofh.it> (permalink)
X-Original-To Chas Williams <3chas3@gmail.com>, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org
X-Mailer git-send-email 2.9.3
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding 8bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org
X-Original-Date Mon, 12 Sep 2016 10:29:30 +0100
X-Original-Message-ID <20160912092930.20683-1-colin.king@canonical.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1481085

Show key headers only | View raw


From: Colin Ian King <colin.king@canonical.com>

The newline escape is incorrect and needs fixing. Also adjust source
formatting / indentation and remove trailing white space.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/atm/iphase.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 9d8807e..256b191 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -1885,9 +1885,8 @@ 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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] atm: iphase: fix newline escape and minor tweak to source formatting Colin King <colin.king@canonical.com> - 2016-09-12 11:40 +0200
  Re: [PATCH] atm: iphase: fix newline escape and minor tweak to source  formatting Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-12 14:00 +0200
  Re: [PATCH] atm: iphase: fix newline escape and minor tweak to source  formatting Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-12 14:00 +0200

csiph-web