From: Greg KH <greg@kroah.com>
To: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v2] staging: greybus: Remove unnecessary parentheses
Date: Fri, 29 Mar 2019 17:20:08 +0100 [thread overview]
Message-ID: <20190329162008.GC26815@kroah.com> (raw)
In-Reply-To: <1553872280-8194-1-git-send-email-payal.s.kshirsagar.98@gmail.com>
On Fri, Mar 29, 2019 at 08:41:20PM +0530, Payal Kshirsagar wrote:
> Challenge suggested by coccinelle
>
> This patch removes unnecessary parentheses while returning a value using an expression.
> Using following semantic patch:
>
> @@
> expression e;
> @@
>
> return
> - (
> e
> - )
> ;
>
> Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
> ---
> Changes in v2:
> -Correction in typo.
> diff -u -p a/sdio.c b/sdio.c
> --- a/sdio.c
> +++ b/sdio.c
Again, wrong patch depth :(
prev parent reply other threads:[~2019-03-29 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-29 15:11 [Outreachy kernel] [PATCH v2] staging: greybus: Remove unnecessary parentheses Payal Kshirsagar
2019-03-29 16:20 ` Greg KH [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=20190329162008.GC26815@kroah.com \
--to=greg@kroah.com \
--cc=outreachy-kernel@googlegroups.com \
--cc=payal.s.kshirsagar.98@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.