drm/exynos: rotator: add missing braces
authorJingoo Han <[email protected]>
Thu, 17 Apr 2014 10:09:00 +0000 (19:09 +0900)
committerInki Dae <[email protected]>
Sun, 1 Jun 2014 17:07:03 +0000 (02:07 +0900)
In the case of that only one branch of a conditional statement is
a single statement, braces are added to both branches.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_drm_rotator.c

index 7b901688defa78f5e2d6ee1853e45f71f8e4bf2b..c67542750b6a28b71fbd4baa29e17ae85e87147a 100644 (file)
@@ -158,8 +158,9 @@ static irqreturn_t rotator_irq_handler(int irq, void *arg)
                        rot->cur_buf_id[EXYNOS_DRM_OPS_DST];
                queue_work(ippdrv->event_workq,
                        (struct work_struct *)event_work);
-       } else
+       } else {
                DRM_ERROR("the SFR is set illegally\n");
+       }
 
        return IRQ_HANDLED;
 }