From patchwork Thu Apr 17 10:09:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4007521 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CE1CC9F2CC for ; Thu, 17 Apr 2014 10:09:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14F7620353 for ; Thu, 17 Apr 2014 10:09:05 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1F88D2034E for ; Thu, 17 Apr 2014 10:09:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5BAC26E500; Thu, 17 Apr 2014 03:09:02 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D5856E500 for ; Thu, 17 Apr 2014 03:09:01 -0700 (PDT) Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4600I276V0RK10@mailout3.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 17 Apr 2014 19:09:00 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 36.56.14803.C38AF435; Thu, 17 Apr 2014 19:09:00 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-d2-534fa83c270f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id F0.47.29263.C38AF435; Thu, 17 Apr 2014 19:09:00 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N46005YU6V0U810@mmp2.samsung.com>; Thu, 17 Apr 2014 19:09:00 +0900 (KST) From: Jingoo Han To: 'David Airlie' , dri-devel@lists.freedesktop.org References: <003c01cf5a24$ae1ecb90$0a5c62b0$%han@samsung.com> In-reply-to: <003c01cf5a24$ae1ecb90$0a5c62b0$%han@samsung.com> Subject: [PATCH 6/6] drm/exynos: rotator: add missing braces Date: Thu, 17 Apr 2014 19:09:00 +0900 Message-id: <004301cf5a25$0d75fdc0$2861f940$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9aJK3M+aa/fkaIQ9m2BBCdDlwGWwAAFSag Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBIsWRmVeSWpSXmKPExsVy+t8zQ12bFf7BBp82yFn0njvJZHHl63s2 i0n3J7BYXF54idXixb2LLBZnm96wW8yY/JLNgd1j+7cHrB73u48zefRtWcUYwBzFZZOSmpNZ llqkb5fAlbHhXgdzwWm2igdP7jM3MB5g7WLk5JAQMJHYf2YJM4QtJnHh3nq2LkYuDiGBZYwS +9bPAXI4wIo6lvlCxKczSrRc2MME0iAk8JtR4upkNxCbTUBN4suXw+wgtoiAm8Sj1scsIA3M ApcYJaae/cUM0WAr8WlVA9hmTgE7ifn3l7CA2MICNhKH7j4Ba2YRUJW4/3Qi2AJeoPqnS2ax QNiCEj8m3wOzmQW0JNbvPM4EYctLbF7zlhniUHWJR391IW4wkrh55AVUuYjEvhfvGEHukRC4 xS6xas5UqF0CEt8mH2KB6JWV2HQAGhCSEgdX3GCZwCgxC8nmWUg2z0KyeRaSFQsYWVYxiqYW JBcU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Z7/Mx4czUphytJ7GHP9zsoNxNmvNvpc9l6QcIxzNd6eEWP1MLtl+P3GRZtYzZkbh kJP3On58F+DSOyjILhi+rntXXUvw1GbzTMN/Gkmh9eckHDOyN1cq7lut/WftnLkzy7g8bcKm 9H2SWHDt+9a6nps95YEbbtyMcF7Jas118c3JFiWW4oxEQy3mouJEAElkaOFIAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: 'Kyungmin Park' , 'Seung-Woo Kim' X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index 7b90168..c675427 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -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; }