From patchwork Mon Nov 26 04:49:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13190 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 5490823EFB for ; Mon, 26 Nov 2012 04:55:50 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 05F52A180E3 for ; Mon, 26 Nov 2012 04:55:49 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so4033426ieb.11 for ; Sun, 25 Nov 2012 20:55:49 -0800 (PST) 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=n9mSVye4vwTTOA+u/2W2nGBSTLGwPQzKtfSVIHk4i98=; b=j810Ge7ynS7pNcUTrC2vveKkX9BAwcFM2N9ApTq05Gdr/t/2gB8ecfUUwJt065XBCI IpclT1IIj6FOircSZ+bAc9mC7706oCd6Ket89YRFhne8pkEdb5DN0vlgkKTxuKJO8Rda ShLXYPB/ZG0y95FQDGbOb+KJBHQQH1bkzkUinlDj4tqcyh0OyHuSEzO5VTywKsCYdTN/ RW5BZp4UW73P2firlfTvUkXSnzXUToIikfyppmB9eWupqrLn1+MIBbeIMuf2y5UwWQ/7 Stf/7eSaYD7EU3C3fzXwLRAFkOMmlWK2jcrU900q16eOIgPKRls8L34B2xxbtP7VOZpW LF/g== Received: by 10.50.161.169 with SMTP id xt9mr12283796igb.62.1353905749777; Sun, 25 Nov 2012 20:55:49 -0800 (PST) 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.67.148 with SMTP id n20csp201149igt; Sun, 25 Nov 2012 20:55:49 -0800 (PST) Received: by 10.66.82.73 with SMTP id g9mr29783065pay.5.1353905749253; Sun, 25 Nov 2012 20:55:49 -0800 (PST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id n5si17451088paw.176.2012.11.25.20.55.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 20:55:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.54; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.54 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-f54.google.com with SMTP id wz12so7880092pbc.13 for ; Sun, 25 Nov 2012 20:55:48 -0800 (PST) Received: by 10.68.234.100 with SMTP id ud4mr33734055pbc.82.1353905748775; Sun, 25 Nov 2012 20:55:48 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id g1sm8082844pax.21.2012.11.25.20.55.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 20:55:48 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: t.stanislaws@samsung.com, s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 5/9] [media] s5p-tv: Add missing braces around sizeof in hdmiphy_drv.c Date: Mon, 26 Nov 2012 10:19:04 +0530 Message-Id: <1353905348-15475-6-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1353905348-15475-1-git-send-email-sachin.kamat@linaro.org> References: <1353905348-15475-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQni98mGGLPkKyKkT+Md0U/zho17614LpwXoDH9dLNExGsImojzslvDhBNgxaGHX6nTRB+RH Fixes the following checkpatch warning: WARNING: sizeof *ctx should be sizeof(*ctx) FILE: media/platform/s5p-tv/hdmiphy_drv.c:287: ctx = kzalloc(sizeof *ctx, GFP_KERNEL); Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-tv/hdmiphy_drv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-tv/hdmiphy_drv.c b/drivers/media/platform/s5p-tv/hdmiphy_drv.c index f67b386..94c2a13 100644 --- a/drivers/media/platform/s5p-tv/hdmiphy_drv.c +++ b/drivers/media/platform/s5p-tv/hdmiphy_drv.c @@ -284,7 +284,7 @@ static int __devinit hdmiphy_probe(struct i2c_client *client, { struct hdmiphy_ctx *ctx; - ctx = kzalloc(sizeof *ctx, GFP_KERNEL); + ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); if (!ctx) return -ENOMEM;