From: Greg KH <gregkh@linuxfoundation.org>
To: Ioana Ciornei <ciorneiioana@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>,
outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] [PATCH v3 5/9] staging: iio: adc: add spaces around binary operators
Date: Mon, 12 Oct 2015 17:01:03 -0700 [thread overview]
Message-ID: <20151013000103.GA23613@kroah.com> (raw)
In-Reply-To: <CAHWJYFm8t+=JB7RGOb1xVtFVrn8fDvT0eVyH5jxio2yojcohpQ@mail.gmail.com>
On Mon, Oct 12, 2015 at 10:00:30PM +0300, Ioana Ciornei wrote:
> On Mon, Oct 12, 2015 at 7:38 PM, Daniel Baluta <daniel.baluta@gmail.com> wrote:
> > On Fri, Oct 9, 2015 at 10:51 PM, Ioana Ciornei <ciorneiioana@gmail.com> wrote:
> >> Add spaces around binary operators like -, +, * etc
> >> in order to improve readability
> >>
> >> Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
> >> ---
> >>
> >> Changes in v2:
> >> - nothing
> >> Changes in v3:
> >> - nothing
> >>
> >> drivers/staging/iio/adc/ad7192.c | 2 +-
> >> drivers/staging/iio/adc/ad7280a.c | 4 ++--
> >> drivers/staging/iio/adc/ad7816.c | 2 +-
> >> 3 files changed, 4 insertions(+), 4 deletions(-)
> >>
> >> diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
> >> index e7212c8..1bae258 100644
> >> --- a/drivers/staging/iio/adc/ad7192.c
> >> +++ b/drivers/staging/iio/adc/ad7192.c
> >> @@ -377,7 +377,7 @@ ad7192_show_scale_available(struct device *dev,
> >> }
> >>
> >> static IIO_DEVICE_ATTR_NAMED(in_v_m_v_scale_available,
> >> - in_voltage-voltage_scale_available,
> >> + in_voltage - voltage_scale_available,
> >
> > This is not ok :). in_voltage-voltage_scale_available is the name of
> > an IIO sysfs
> > attribute exposed to user space. '-' is a part of the name, there is
> > no binary operator
> > here.
> >
> > If checkpatch complains about this then it's a false positive.
>
>
> Yes, checkpatch generated a warning and also there were no build errors.
> Sorry about this. I will send a v2.
You mean "v4", right? This is v3 already...
next prev parent reply other threads:[~2015-10-13 0:01 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-09 19:50 [PATCH v3 0/9] staging: iio: adc: fix multiple checkpatch issues Ioana Ciornei
2015-10-09 19:51 ` [PATCH v3 1/9] staging: iio: adc: use kernel types u32 and u64 Ioana Ciornei
2015-10-12 16:59 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 2/9] staging: iio: adc: properly indent to match open paranthesis Ioana Ciornei
2015-10-12 15:14 ` [Outreachy kernel] " Daniel Baluta
2015-10-13 9:52 ` Ioana Ciornei
2015-10-13 9:56 ` Julia Lawall
2015-10-13 10:05 ` Ioana Ciornei
2015-10-13 10:19 ` Julia Lawall
2015-10-13 11:51 ` Sudip Mukherjee
2015-10-13 11:52 ` Julia Lawall
2015-10-13 11:54 ` Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 3/9] staging: iio: adc: remove explicit comparison to NULL Ioana Ciornei
2015-10-12 16:26 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 4/9] staging: iio: adc: remove space after cast Ioana Ciornei
2015-10-12 16:31 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 5/9] staging: iio: adc: add spaces around binary operators Ioana Ciornei
2015-10-12 16:38 ` [Outreachy kernel] " Daniel Baluta
2015-10-12 19:00 ` Ioana Ciornei
2015-10-13 0:01 ` Greg KH [this message]
2015-10-13 5:47 ` Ioana Ciornei
2015-10-09 19:51 ` [PATCH v3 6/9] staging: iio: adc: add blank line after declarations Ioana Ciornei
2015-10-12 16:39 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 7/9] staging: iio: adc: remove multiple blank lines Ioana Ciornei
2015-10-12 16:40 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 8/9] staging: iio: adc: remove the use of CamelCase Ioana Ciornei
2015-10-12 16:50 ` [Outreachy kernel] " Daniel Baluta
2015-10-09 19:51 ` [PATCH v3 9/9] staging: iio: adc: properly indent block comments Ioana Ciornei
2015-10-12 16:53 ` [Outreachy kernel] " Daniel Baluta
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=20151013000103.GA23613@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=ciorneiioana@gmail.com \
--cc=daniel.baluta@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.