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


Groups > linux.kernel > #1489677

[PATCH] drivers: drm: nouveau: Fix brace coding style error

From David Archuleta Jr <darchuletajr@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] drivers: drm: nouveau: Fix brace coding style error
Date 2016-09-23 02:40 +0200
Message-ID <skmGZ-4Xm-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed a coding style issue. Else should follow brace.

Signed-off-by: David Archuleta Jr. <darchuletajr@gmail.com>
---
 drivers/gpu/drm/nouveau/nouveau_display.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index afbf557..0d39e17 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -851,8 +851,7 @@ nouveau_finish_page_flip(struct nouveau_channel *chan,
 			/* Give up ownership of vblank for page-flipped crtc */
 			drm_crtc_vblank_put(s->crtc);
 		}
-	}
-	else {
+	} else {
 		/* Give up ownership of vblank for page-flipped crtc */
 		drm_crtc_vblank_put(s->crtc);
 	}
-- 
2.10.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] drivers: drm: nouveau: Fix brace coding style error David Archuleta Jr <darchuletajr@gmail.com> - 2016-09-23 02:40 +0200

csiph-web