[PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue

Subsystems: framebuffer layer, the rest

STALE5366d

2 messages, 2 authors, 2011-11-23 · open the first message on its own page

[PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue

From: Zac Storer <hidden>
Date: 2011-11-18 04:35:09

Fixed a brace coding style issue.

Signed-off-by: Zac Storer <redacted>
---
 drivers/video/controlfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/controlfb.c b/drivers/video/controlfb.c
index 7b2c40a..0c189b3 100644
--- a/drivers/video/controlfb.c
+++ b/drivers/video/controlfb.c
@@ -420,7 +420,7 @@ static int __init init_control(struct fb_info_control *p)
 
 	/* Try to pick a video mode out of NVRAM if we have one. */
 #ifdef CONFIG_NVRAM
-	if (default_cmode = CMODE_NVRAM){
+	if (default_cmode = CMODE_NVRAM) {
 		cmode = nvram_read_byte(NV_CMODE);
 		if(cmode < CMODE_8 || cmode > CMODE_32)
 			cmode = CMODE_8;
-- 
1.7.7.3

Re: [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue

From: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Date: 2011-11-23 06:52:19

On 11/18/2011 04:34 AM, Zac Storer wrote:
Fixed a brace coding style issue.

Signed-off-by: Zac Storer <redacted>
Applied.


Thanks,

Florian Tobias Schandinat
quoted hunk
---
 drivers/video/controlfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/controlfb.c b/drivers/video/controlfb.c
index 7b2c40a..0c189b3 100644
--- a/drivers/video/controlfb.c
+++ b/drivers/video/controlfb.c
@@ -420,7 +420,7 @@ static int __init init_control(struct fb_info_control *p)
 
 	/* Try to pick a video mode out of NVRAM if we have one. */
 #ifdef CONFIG_NVRAM
-	if (default_cmode = CMODE_NVRAM){
+	if (default_cmode = CMODE_NVRAM) {
 		cmode = nvram_read_byte(NV_CMODE);
 		if(cmode < CMODE_8 || cmode > CMODE_32)
 			cmode = CMODE_8;

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help