[Mesa-dev] [PATCH kmscube 1/4] drm-atomic: Fix indentation
Thierry Reding
thierry.reding at gmail.com
Thu Apr 5 13:44:51 UTC 2018
From: Thierry Reding <treding at nvidia.com>
One of the error returns ended up being indented twice. Fix it.
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
drm-atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drm-atomic.c b/drm-atomic.c
index 82531d346d73..99ac33d6a686 100644
--- a/drm-atomic.c
+++ b/drm-atomic.c
@@ -116,7 +116,7 @@ static int drm_atomic_commit(uint32_t fb_id, uint32_t flags)
if (flags & DRM_MODE_ATOMIC_ALLOW_MODESET) {
if (add_connector_property(req, drm.connector_id, "CRTC_ID",
drm.crtc_id) < 0)
- return -1;
+ return -1;
if (drmModeCreatePropertyBlob(drm.fd, drm.mode, sizeof(*drm.mode),
&blob_id) != 0)
--
2.16.3
More information about the mesa-dev
mailing list