From patchwork Fri Aug 31 10:20:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1395111 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 64207DFABE for ; Sat, 1 Sep 2012 10:34:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EDF3A9EB6C for ; Sat, 1 Sep 2012 03:34:51 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 05300A0A15 for ; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) Received: by pbbrq8 with SMTP id rq8so4829033pbb.36 for ; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=yHZfigZPDUjDzYGdivFtHdmanCbFXE3hKh9Szjkj1XA=; b=nw2pOUBpjPgrPJDyLEEc2KPEcjRMQ+zwnScDhNeJjH7ocOXDXgBK4WCJa7X/aH/g3y asAu5Pf4u9whyhfzChj9wJYVldZj8kPCKAP37Kbpofc/tL6oVuc1dOIKms1RkWLxC5ki VMjaQULd9wz5VKfhrC303wkhxUZEsJDzKi6TyXql1dQmf9oehyhjK/setC6+Y+9yztRt PGprOjqyhogfLe8py8x7mQ9seQBS+AWn0pc7ParWCYA5/bI7UO/tcBuW1s9Qp6DlY7xt HrsDqUPyiRJ5UZyw1pa9ZDJBimi/Th7X+ztN7aJ0kP3I4X/1K0M3zASq2WPQ2b8W4gS7 OQdA== Received: by 10.68.136.102 with SMTP id pz6mr16440246pbb.160.1346408603964; Fri, 31 Aug 2012 03:23:23 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kp3sm3148137pbc.64.2012.08.31.03.23.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 03:23:23 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/exynos: Add missing braces around sizeof in exynos_mixer.c Date: Fri, 31 Aug 2012 15:50:48 +0530 Message-Id: <1346408448-13928-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1346408448-13928-1-git-send-email-sachin.kamat@linaro.org> References: <1346408448-13928-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnRDBRs+RLl7G7AH89HwCVsL4ZtDw3r5mOK2eJ6tIn08t4VSOnFctZfs0rof+irUq2VDVRR X-Mailman-Approved-At: Sat, 01 Sep 2012 03:31:54 -0700 Cc: patches@linaro.org, sachin.kamat@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Fixes the following checkpatch warnings: WARNING: sizeof filter_y_horiz_tap8 should be sizeof(filter_y_horiz_tap8) WARNING: sizeof filter_y_vert_tap4 should be sizeof(filter_y_vert_tap4) WARNING: sizeof filter_cr_horiz_tap4 should be sizeof(filter_cr_horiz_tap4) Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_mixer.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 30fcc12..25b97d5 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -236,11 +236,11 @@ static inline void vp_filter_set(struct mixer_resources *res, static void vp_default_filter(struct mixer_resources *res) { vp_filter_set(res, VP_POLY8_Y0_LL, - filter_y_horiz_tap8, sizeof filter_y_horiz_tap8); + filter_y_horiz_tap8, sizeof(filter_y_horiz_tap8)); vp_filter_set(res, VP_POLY4_Y0_LL, - filter_y_vert_tap4, sizeof filter_y_vert_tap4); + filter_y_vert_tap4, sizeof(filter_y_vert_tap4)); vp_filter_set(res, VP_POLY4_C0_LL, - filter_cr_horiz_tap4, sizeof filter_cr_horiz_tap4); + filter_cr_horiz_tap4, sizeof(filter_cr_horiz_tap4)); } static void mixer_vsync_set_update(struct mixer_context *ctx, bool enable)