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: 11129 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 75FC323E41 for ; Fri, 31 Aug 2012 10:23:25 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 448E7A188B5 for ; Fri, 31 Aug 2012 10:22:47 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so4510295iaf.11 for ; Fri, 31 Aug 2012 03:23:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=yHZfigZPDUjDzYGdivFtHdmanCbFXE3hKh9Szjkj1XA=; b=K1yokT6j46LDOnvE6AqZ9DilEx392fri3Vnap8OGUuiygUTnBX874eS3/BE9eWquQK MST6Q98rQIXn2FcRHSr6ntqm7fdOjKmqwqOUBnXHdwfkkTMc/G7lCNeSrXcGDHj19xId ka4zvaSFE+uHe2uHORpijNHc9CSOaiTuPTGSQF1dGkhSyZ3jvSaGAcnlysBmS6ieVEZT Z6ypbW6eeVeyj5UR2nJxUrnCHsbzgx0xNVJf/jhNZ1yUDrT+b+uu7VZzx0ogIxO2JES9 +OJYy1FSnKRzZRbucslaxmHYxKFZcs1Su3qZklBpegGOHEB7NAVXxt3aw9gPL7CSWpEs lZ2Q== Received: by 10.50.159.196 with SMTP id xe4mr1947217igb.43.1346408604938; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp4375igc; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) Received: by 10.68.230.194 with SMTP id ta2mr16686207pbc.30.1346408604337; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id px6si7859033pbc.184.2012.08.31.03.23.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 03:23:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f50.google.com with SMTP id md12so5002613pbc.37 for ; Fri, 31 Aug 2012 03:23:24 -0700 (PDT) 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 Cc: inki.dae@samsung.com, airlied@linux.ie, sachin.kamat@linaro.org, patches@linaro.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: ALoCoQkDvqW6V/EpLFw2enSf0JZAf0PbBA8PQVUG8amO1zyewcdul0MjjeeYeN8SEdQ9bPr+5rSL 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)