Re: [PATCH] staging: sm750fb: split multiple assignments to lines

From
Chris Carbone <hidden>
Date
2022-08-25 00:16:24
Also in
linux-staging, lkml
Reply to
Greg KH, 2022-08-23
On Tue, Aug 23, 2022 at 08:26:44AM +0200, Greg KH wrote:
On Mon, Aug 22, 2022 at 06:42:48PM -0400, Christopher Carbone wrote:
quoted
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index dbd1159a2ef0..6f4c31635cc4 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -386,7 +386,8 @@ static int lynxfb_ops_set_par(struct fb_info *info)
 
 	ret = lynxfb_set_color_offsets(info);
 
-	var->height = var->width = -1;
+	var->height  = -1;
Odd spacing on this new line.  Did you run your change through
checkpatch?
Yes; checkpatch didn't report any problems with it.

Thank you for your time,
Chris Carbone
Thread (3 messages) 3 messages, 2 authors, last reply 2022-08-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help