* [PATCH 2/2] Drivers:iio:adc : fix quoted string split across lines issue in at91_adc.c
@ 2017-12-17 14:08 venkat.prashanth2498
2017-12-29 17:30 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: venkat.prashanth2498 @ 2017-12-17 14:08 UTC (permalink / raw)
To: lars, Michael.Hennerich
Cc: jic23, knaack.h, pmeerw, linux-iio, Venkat Prashanth B U
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");
return count;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] Drivers:iio:adc : fix quoted string split across lines issue in at91_adc.c
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
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2017-12-29 17:30 UTC (permalink / raw)
To: venkat.prashanth2498; +Cc: lars, Michael.Hennerich, knaack.h, pmeerw, linux-iio
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-29 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.