Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1614264

[PATCH 2/2] staging: sm750fb: removed line continuations in quoted strings

From Prasant Jalan <prasant.jalan@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] staging: sm750fb: removed line continuations in quoted strings
Date 2017-03-31 21:20 +0200
Message-ID <trafv-iO-5@gated-at.bofh.it> (permalink)
References <trafv-iO-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


checkpatch gives WARNING: Avoid line continuations in quoted strings.

Trivial fix by removing line continuations and adding another quote at
the start of next line.

Signed-off-by: Prasant Jalan <prasant.jalan@gmail.com>
---
 drivers/staging/sm750fb/sm750.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 445c68d..386d4ad 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -837,15 +837,15 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
 
 	/* some member of info->var had been set by fb_find_mode */
 
-	pr_info("Member of info->var is :\n\
-		xres=%d\n\
-		yres=%d\n\
-		xres_virtual=%d\n\
-		yres_virtual=%d\n\
-		xoffset=%d\n\
-		yoffset=%d\n\
-		bits_per_pixel=%d\n \
-		...\n",
+	pr_info("Member of info->var is :\n"
+		"xres=%d\n"
+		"yres=%d\n"
+		"xres_virtual=%d\n"
+		"yres_virtual=%d\n"
+		"xoffset=%d\n"
+		"yoffset=%d\n"
+		"bits_per_pixel=%d\n"
+		" ...\n",
 		var->xres,
 		var->yres,
 		var->xres_virtual,
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] staging: sm750fb: removed line continuations in quoted strings Prasant Jalan <prasant.jalan@gmail.com> - 2017-03-31 21:20 +0200
  Re: [PATCH 2/2] staging: sm750fb: removed line continuations in  quoted strings Prasant Jalan <prasant.jalan@gmail.com> - 2017-04-03 18:40 +0200
    Re: [PATCH 2/2] staging: sm750fb: removed line continuations in  quoted strings Greg KH <gregkh@linuxfoundation.org> - 2017-04-03 20:00 +0200

csiph-web