From: Ioannis Valasakis <code@wizofe.uk>
To: Sasha Levin <sashal@kernel.org>
Cc: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org
Subject: Re: [Outreachy kernel] [PATCH v2 1/5] staging: greybus Align parameters to parentheses
Date: Fri, 2 Nov 2018 14:33:17 +0000 [thread overview]
Message-ID: <20181102143317.GA12871@kvasir.local> (raw)
In-Reply-To: <20181102142657.GF194472@sasha-vm>
On Fri, Nov 02, 2018 at 10:26:57AM -0400, Sasha Levin wrote:
> On Fri, Nov 02, 2018 at 12:48:01PM +0000, Ioannis Valasakis wrote:
> > Align parameters to the right side of the left parentheses
> > Reported by checkpatch.
> >
> > Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
> > ---
> > drivers/staging/greybus/core.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c
> > index dafa430d176e..d28773e06838 100644
> > --- a/drivers/staging/greybus/core.c
> > +++ b/drivers/staging/greybus/core.c
> > @@ -28,7 +28,7 @@ int greybus_disabled(void)
> > EXPORT_SYMBOL_GPL(greybus_disabled);
> >
> > static bool greybus_match_one_id(struct gb_bundle *bundle,
> > - const struct greybus_bundle_id *id)
> > + const struct greybus_bundle_id *id)
> > {
> > if ((id->match_flags & GREYBUS_ID_MATCH_VENDOR) &&
> > (id->vendor != bundle->intf->vendor_id))
> > @@ -48,7 +48,7 @@ static bool greybus_match_one_id(struct gb_bundle *bundle,
> > static const struct greybus_bundle_id *
> > greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id)
> > {
> > - if (id == NULL)
> > + if (!id == NULL)
> > return NULL;
>
> This change doesn't look right. It also doesn't do what the commit log
> says this commit does.
>
> --
> Thanks,
> Sasha
Indeed, I am sending a correction to this patch.
--
ta
ioannis
next prev parent reply other threads:[~2018-11-02 14:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-02 12:47 [PATCH v2 0/5] staging: greybus Addressed minor styling issues Ioannis Valasakis
2018-11-02 12:48 ` [PATCH v2 1/5] staging: greybus Align parameters to parentheses Ioannis Valasakis
2018-11-02 14:26 ` [Outreachy kernel] " Sasha Levin
2018-11-02 14:33 ` Ioannis Valasakis [this message]
2018-11-02 12:48 ` [PATCH v2 2/5] staging: greybus Shorten comparison to NULL Ioannis Valasakis
2018-11-02 12:48 ` [PATCH v2 3/5] staging: greybus Add a blank line after declaration Ioannis Valasakis
2018-11-02 12:48 ` [PATCH v2 4/5] staging: greybus Fix SPDX identifier Ioannis Valasakis
2018-11-02 12:49 ` [PATCH v2 5/5] staging: greybus Align arguments with parentheses Ioannis Valasakis
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=20181102143317.GA12871@kvasir.local \
--to=code@wizofe.uk \
--cc=gregkh@linuxfoundation.org \
--cc=outreachy-kernel@googlegroups.com \
--cc=sashal@kernel.org \
/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.