Re: [Mesa-dev] [PATCH kmscube 1/4] drm-atomic: Fix indentation

2018-04-05 Thread Christian Gmeiner
2018-04-05 15:44 GMT+02:00 Thierry Reding :
> From: Thierry Reding 
>
> One of the error returns ended up being indented twice. Fix it.
>
> Signed-off-by: Thierry Reding 

Reviewed-by: Christian Gmeiner 

> ---
>  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),
>   _id) != 0)
> --
> 2.16.3
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH kmscube 1/4] drm-atomic: Fix indentation

2018-04-05 Thread Thierry Reding
From: Thierry Reding 

One of the error returns ended up being indented twice. Fix it.

Signed-off-by: Thierry Reding 
---
 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),
  _id) != 0)
-- 
2.16.3

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev