All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes.sorensen@gmail.com>
To: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH 1/8] Staging: rtl8188eu: Remove parentheses around right side an assignment
Date: Tue, 17 Mar 2015 12:06:39 -0400	[thread overview]
Message-ID: <5508510F.2080504@gmail.com> (raw)
In-Reply-To: <20150313165555.GA6673@haneen-vb>

On 03/13/15 12:55, Haneen Mohammed wrote:
> Parentheses are not needed around the right hand side of an assignment.
> This patch remove parenthese of such occurenses. Issue was detected and
> solved using the following coccinelle script:
> 
> @rule1@
> identifier x, y, z;
> expression E1, E2;
> @@
> 
> (
> x = (y == z);
> |
> x = (E1 == E2);
> |
>  x =
> -(
> ...
> -)
>  ;
> )
> 
> Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
> ---
>  drivers/staging/rtl8188eu/core/rtw_efuse.c         |  6 +++---
>  drivers/staging/rtl8188eu/core/rtw_ieee80211.c     |  2 +-
>  drivers/staging/rtl8188eu/core/rtw_mlme.c          |  2 +-
>  drivers/staging/rtl8188eu/core/rtw_mlme_ext.c      | 22 +++++++++++-----------
>  drivers/staging/rtl8188eu/core/rtw_recv.c          |  4 ++--
>  drivers/staging/rtl8188eu/core/rtw_sreset.c        |  2 +-
>  drivers/staging/rtl8188eu/core/rtw_wlan_util.c     | 18 +++++++++---------
>  .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c   |  4 ++--
>  drivers/staging/rtl8188eu/hal/odm_HWConfig.c       |  2 +-
>  drivers/staging/rtl8188eu/hal/phy.c                | 20 ++++++++++----------
>  drivers/staging/rtl8188eu/hal/rf.c                 |  2 +-
>  11 files changed, 42 insertions(+), 42 deletions(-)

Patch looks good, but there is something weird with your mailer. You are
setting 'Reply-To:' which is a huge no-no, in addition it's pointing to
an invalid email address.

Cheers,
Jes



      reply	other threads:[~2015-03-17 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 16:55 [PATCH 1/8] Staging: rtl8188eu: Remove parentheses around right side an assignment Haneen Mohammed
2015-03-17 16:06 ` Jes Sorensen [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=5508510F.2080504@gmail.com \
    --to=jes.sorensen@gmail.com \
    --cc=hamohammed.sa@gmail.com \
    --cc=outreachy-kernel@googlegroups.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.