All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Varsha Rao <rvarsha016@gmail.com>,
	 Larry Finger <Larry.Finger@lwfinger.net>,
	 Florian Schilhabel <florian.c.schilhabel@googlemail.com>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v2] staging: rtl8712: Moved logical OR operator to previous line.
Date: Fri, 17 Feb 2017 07:52:27 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1702170752010.2062@hadrien> (raw)
In-Reply-To: <alpine.DEB.2.20.1702170649570.2062@hadrien>



On Fri, 17 Feb 2017, Julia Lawall wrote:

>
>
> On Fri, 17 Feb 2017, Varsha Rao wrote:
>
> > Moved logical OR operator to previous line to fix the following
> > checkpatch issue:
> >
> > CHECK: Logical continuations should be on the previous line.
>
> Acked-by: drivers/staging/rtl8712/ieee80211.c

Sorry!

Acked-by: Julia Lawall <julia.lawall@lip6.fr>

>
> > Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
> > ---
> >  v2:
> >
> >  -Edited commit message.
> >  -Fixed the warning of line over 80 characters.
> >
> >  drivers/staging/rtl8712/ieee80211.c | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
> > index d84da2b..f35121e 100644
> > --- a/drivers/staging/rtl8712/ieee80211.c
> > +++ b/drivers/staging/rtl8712/ieee80211.c
> > @@ -288,8 +288,9 @@ int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
> >  		/* No WPA IE - fail silently */
> >  		return _FAIL;
> >  	}
> > -	if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2))
> > -	     || (memcmp(wpa_ie + 2, (void *)WPA_OUI_TYPE, WPA_SELECTOR_LEN)))
> > +	if ((*wpa_ie != _WPA_IE_ID_) ||
> > +	    (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) ||
> > +	    (memcmp(wpa_ie + 2, (void *)WPA_OUI_TYPE, WPA_SELECTOR_LEN)))
> >  		return _FAIL;
> >  	pos = wpa_ie;
> >  	pos += 8;
> > --
> > 2.9.3
> >
> > --
> > 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/20170217051238.GA3213%40euri.
> > For more options, visit https://groups.google.com/d/optout.
> >
>


      reply	other threads:[~2017-02-17  6:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17  5:12 [PATCH v2] staging: rtl8712: Moved logical OR operator to previous line Varsha Rao
2017-02-17  5:50 ` [Outreachy kernel] " Julia Lawall
2017-02-17  6:52   ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1702170752010.2062@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=Larry.Finger@lwfinger.net \
    --cc=florian.c.schilhabel@googlemail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    --cc=rvarsha016@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.