From: Alison Schofield <amsfield22@gmail.com>
To: Katie Dunne <kdunne@mail.ccsf.edu>
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <michael.hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
Hartmut Knaack <knaack.h@gmx.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Subject: Re: [Outreachy kernel] [PATCH] staging: iio: adc: Add spaces around operator
Date: Thu, 15 Sep 2016 22:01:20 -0700 [thread overview]
Message-ID: <20160916050119.GA3124@d830.WORKGROUP> (raw)
In-Reply-To: <20160915164248.GA4812@katie-Inspiron-5748>
On Thu, Sep 15, 2016 at 09:42:48AM -0700, Katie Dunne wrote:
> Issue found by checkpatch.pl
Hi Katie,
This one's a checkpatch error. I'll just cut/paste the response
Jonathan gave to the person who sent it last week ;)
"Just to explain a bit more. Checkpatch is assuming that it is looking
at two parameters. It's not. That's a string being passed into the
macro. It ultimately forms a file name in sysfs.
p.s. We get patches for this from time to time ;( Unfortunately it's
a somewhat obscure case for checkpatch."
But, if this had been a valid patch, I also would add the feedback to
give the driver name in the subject - staging: iio: adc: ad7192:
Thanks,
alisons
>
> Signed-off-by: Katie Dunne <kdunne@mail.ccsf.edu>
> ---
> drivers/staging/iio/adc/ad7280a.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c
> index 2177f1d..bc40153 100644
> --- a/drivers/staging/iio/adc/ad7280a.c
> +++ b/drivers/staging/iio/adc/ad7280a.c
> @@ -744,14 +744,14 @@ out:
> }
>
> static IIO_DEVICE_ATTR_NAMED(in_thresh_low_value,
> - in_voltage-voltage_thresh_low_value,
> + in_voltage - voltage_thresh_low_value,
> S_IRUGO | S_IWUSR,
> ad7280_read_channel_config,
> ad7280_write_channel_config,
> AD7280A_CELL_UNDERVOLTAGE);
>
> static IIO_DEVICE_ATTR_NAMED(in_thresh_high_value,
> - in_voltage-voltage_thresh_high_value,
> + in_voltage - voltage_thresh_high_value,
> S_IRUGO | S_IWUSR,
> ad7280_read_channel_config,
> ad7280_write_channel_config,
> --
> 2.7.4
>
> --
> 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/20160915164248.GA4812%40katie-Inspiron-5748.
> For more options, visit https://groups.google.com/d/optout.
prev parent reply other threads:[~2016-09-16 5:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 16:42 [PATCH] staging: iio: adc: Add spaces around operator Katie Dunne
2016-09-16 5:01 ` Alison Schofield [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=20160916050119.GA3124@d830.WORKGROUP \
--to=amsfield22@gmail.com \
--cc=jic23@kernel.org \
--cc=kdunne@mail.ccsf.edu \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=michael.hennerich@analog.com \
--cc=outreachy-kernel@googlegroups.com \
--cc=pmeerw@pmeerw.net \
/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.