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

Christian Gmeiner christian.gmeiner at gmail.com
Thu Apr 5 14:24:52 UTC 2018


2018-04-05 15:44 GMT+02:00 Thierry Reding <thierry.reding at gmail.com>:
> 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>

Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info


More information about the mesa-dev mailing list