From: Jonathan Cameron <jic23@kernel.org>
To: venkat.prashanth2498@gmail.com
Cc: lars@metafoo.de, Michael.Hennerich@analog.com, knaack.h@gmx.de,
pmeerw@pmeerw.net, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] Drivers:iio:adc : fix quoted string split across lines issue in at91_adc.c
Date: Fri, 29 Dec 2017 17:30:26 +0000 [thread overview]
Message-ID: <20171229173026.30bf8760@archlinux> (raw)
In-Reply-To: <1513519701-3421-1-git-send-email-venkat.prashanth2498@gmail.com>
On Sun, 17 Dec 2017 19:38:21 +0530
venkat.prashanth2498@gmail.com wrote:
> From: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
>
> This is a patch to the at91_adc.c file that fixes up a quoted string split
> across lines warning found by the checkpatch.pl tool
>
> Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
> ---
> drivers/iio/adc/at91_adc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
> index a4767d6..c3729f8 100644
> --- a/drivers/iio/adc/at91_adc.c
> +++ b/drivers/iio/adc/at91_adc.c
> @@ -737,8 +737,8 @@ static int at91_adc_of_get_resolution(struct at91_adc_state *st,
>
> count = of_property_count_strings(np, "atmel,adc-res-names");
> if (count < 2) {
> -dev_err(&idev->dev, "You must specified at least two resolution names for "
> - "adc-res-names property in the DT\n");
> +dev_err(&idev->dev, "You must specified at least two resolution names for
> + adc-res-names property in the DT\n");
This still seems to be on two lines.
The check patch is complaining because such a broken string is difficult to
grep for. It's still difficult like this.
Key thing here is that the ability to grep for the string is more important than
the 80 character limit.
Jonathan
> return count;
> }
>
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2017-12-29 17:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 14:08 [PATCH 2/2] Drivers:iio:adc : fix quoted string split across lines issue in at91_adc.c venkat.prashanth2498
2017-12-29 17:30 ` Jonathan Cameron [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=20171229173026.30bf8760@archlinux \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=venkat.prashanth2498@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.