X-GM-THRID: 6330194437741740032 X-Received: by 10.46.69.10 with SMTP id s10mr1120969lja.1.1473916243936; Wed, 14 Sep 2016 22:10:43 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.28.63.23 with SMTP id m23ls111318wma.3.gmail; Wed, 14 Sep 2016 22:10:43 -0700 (PDT) X-Received: by 10.28.29.83 with SMTP id d80mr149711wmd.2.1473916243455; Wed, 14 Sep 2016 22:10:43 -0700 (PDT) Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr. [192.134.164.83]) by gmr-mx.google.com with ESMTPS id 185si48313wmr.2.2016.09.14.22.10.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 22:10:43 -0700 (PDT) Received-SPF: neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.83; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mailfrom=julia.lawall@lip6.fr X-IronPort-AV: E=Sophos;i="5.30,338,1470693600"; d="scan'208";a="236795296" Received: from 198.67.28.109.rev.sfr.net (HELO hadrien) ([109.28.67.198]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Sep 2016 07:10:42 +0200 Date: Thu, 15 Sep 2016 07:10:42 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Rehas Sachdeva cc: outreachy-kernel@googlegroups.com, Lidza Louina , Mark Hounschell , Greg Kroah-Hartman Subject: Re: [Outreachy kernel] [PATCH v2] staging: dgnc: Fix long line and spelling mistake In-Reply-To: <20160915040821.GA5441@toblerone> Message-ID: References: <20160915040821.GA5441@toblerone> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 15 Sep 2016, Rehas Sachdeva wrote: > This patch fixes the checkpatch.pl warning: Line over 80 characters. > Also, the word 'because' was spelled as 'Becuz' and has been corrected. Looks much betetr :) julia > > Signed-off-by: Rehas Sachdeva > --- > Changes in v2: > Format the commit message to not have too short lines. > > drivers/staging/dgnc/dgnc_neo.c | 24 ++++++++++++++++++------ > 1 file changed, 18 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c > index 5ef5b3e..fe071e1 100644 > --- a/drivers/staging/dgnc/dgnc_neo.c > +++ b/drivers/staging/dgnc/dgnc_neo.c > @@ -107,7 +107,9 @@ static inline void neo_set_cts_flow_control(struct channel_t *ch) > /* Turn off auto Xon flow control */ > efr &= ~UART_17158_EFR_IXON; > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero it > + * out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > @@ -143,7 +145,9 @@ static inline void neo_set_rts_flow_control(struct channel_t *ch) > ier &= ~UART_17158_IER_XOFF; > efr &= ~UART_17158_EFR_IXOFF; > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero it > + * out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > @@ -181,7 +185,9 @@ static inline void neo_set_ixon_flow_control(struct channel_t *ch) > /* Turn on auto Xon flow control */ > efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON); > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero it > + * out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > @@ -219,7 +225,9 @@ static inline void neo_set_ixoff_flow_control(struct channel_t *ch) > ier |= UART_17158_IER_XOFF; > efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero it > + * out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > @@ -260,7 +268,9 @@ static inline void neo_set_no_input_flow_control(struct channel_t *ch) > else > efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero > + * it out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > @@ -298,7 +308,9 @@ static inline void neo_set_no_output_flow_control(struct channel_t *ch) > else > efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON); > > - /* Why? Becuz Exar's spec says we have to zero it out before setting it */ > + /* Why? Because Exar's spec says we have to zero it > + * out before setting it > + */ > writeb(0, &ch->ch_neo_uart->efr); > > /* Turn on UART enhanced bits */ > -- > 2.7.4 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160915040821.GA5441%40toblerone. > For more options, visit https://groups.google.com/d/optout. >