Received: by 10.213.65.68 with SMTP id h4csp2848496imn; Mon, 2 Apr 2018 15:26:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+UVElPdRFtyWs9Spcjdc66lgR4+QRYKoYBcG22Xiof9Wa5ZY08BGF0xeGcoKIrqGA/Jwlj X-Received: by 10.99.152.68 with SMTP id l4mr7223295pgo.75.1522708004343; Mon, 02 Apr 2018 15:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522708004; cv=none; d=google.com; s=arc-20160816; b=TYwr6zcw4UOYBRQFNx1E1UVAB1yG7qvjaFEOVoZIdgp766rOqxz6bjzSTilAV4Uf0T 9smyuYQg4vztu1ATMpga2xw/yeWgcXyHThJ9+Ui9Pa0LlgBLrcE3pUJpfz0Yy0pjPh/d MIFT/1xSbY5JrPqLZiPdCEQNb49/lt94hxtZ86KoL3jHzajro6J/unk4U2+IkPlA+Ahk X/kxlZugamB74RVjek6Y5HsVylYwXC02VG/F+kalfLv7UpiL7xYy5hw6BL/tZ2R2fiGQ HzXj2mq5mvAZLT6gNIR+/qcx7QgSxq1vaTUQGhdw686RGSd0FEyOWkPV35wdQw+CQ4T9 L7Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:in-reply-to:message-id:date :subject:cc:from:dkim-signature:arc-authentication-results; bh=R9NJCxaLDR3dEsNKt+fzVmFCyodKFKvuBQO1ZD5mZ8Q=; b=g9+FPCqZuuZSxRDQSpETVcrOHSKr4tB1Ee8+L5/WDBfNhCHTr9JFI9OJTCgXD5cnYA jxCi3yrsA+A90PKAwsLYgu4yrzFPkU08XU9hHUeKiK3BxyjHM9NhF+uebef7nSFDioDb 9iT1L6v+kkWdoxmYEOQzyIFG3Oe/dpO2Fg5TTh26aLmByQc3dthyXqjbizsSlzP1leJV Ad0O6pVIU4fEyNO/U9942nY43aipmBBztdleRYYQvH6h+xxQVLzbWPFM8XK2/FDVUyKf eMkcANWVkAkDTO4WMvSF5ixph2J/t+sTxvoiG4MNecGa5U+V+eM35RiU49Odb6isx3X/ iIKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MDBXI9Hf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c76si855202pga.156.2018.04.02.15.26.30; Mon, 02 Apr 2018 15:26:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MDBXI9Hf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754652AbeDBWZJ (ORCPT + 99 others); Mon, 2 Apr 2018 18:25:09 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51050 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628AbeDBWZG (ORCPT ); Mon, 2 Apr 2018 18:25:06 -0400 Received: by mail-wm0-f68.google.com with SMTP id t67so9019016wmt.0; Mon, 02 Apr 2018 15:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=R9NJCxaLDR3dEsNKt+fzVmFCyodKFKvuBQO1ZD5mZ8Q=; b=MDBXI9HfJs+H5TjcStviPk2cX4VoWSVAhQ1HLYbqCNhxQchxNIzYXRoO+maaq3ZPHQ Z+rwQ3h2hB51hQl9JeH2qQjuL3x7HOrG8kf/ig/B//7d2HzKbvHR3s5hO4txEtoK/Azg dG5XrumA97sPJKA5dpSUnhIJ1u8UTVfMXZEwxaN7dhos10KHjQ384n5kSx5vW9lB81Qy fZ050xRRKQCeC4yzlMzpQlwsOudwNauVbo6TOLkJEuBYSat7/2fP6xuL4Yuqo75z+LGO W62dOnIIHYcu4gnkhgoSNyD0+fff+WMBnNz5JCcLyHAeF9MLmqzSCixO/rTUG33+00+J WiEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R9NJCxaLDR3dEsNKt+fzVmFCyodKFKvuBQO1ZD5mZ8Q=; b=D0WddLMc5LLxPjLgpyciMs+CCzgsz1c92cjsAj7NQQiaWEm8lTQAZeefpNQEx3yKL0 T8hovPjUCvKAchH/It09uj92JNxTP8vrzLG76D0S9/hl4cxZw3ACu87sjfq76CYWNQ6n xb/+p+BTmx1t8l8QTMC9QIYfVi2LFb7WbN1/5GUKzpkS0YrVGW9tCggV4AyCBk5JkCc/ WRk+zLvlXsgU0aoonjD2k+lugdR/j7BPAyKB8iwjgGo59m1XdTepKqblZLqy/k5aplTk N2EflPoPdHiwb1x1FwY02ntG9e2qWhnEZeXRsg2pmMfnOJaWqBPBTKTjfSMREuLyv5ob TNjw== X-Gm-Message-State: AElRT7G17sPOJ7v+XJuaTsZC9F9+31QnkPmDT1TSUtZ0051ReXKQr4ac epBdQH79P0MokgqYpWUfCpM= X-Received: by 10.28.108.5 with SMTP id h5mr2275433wmc.100.1522707905196; Mon, 02 Apr 2018 15:25:05 -0700 (PDT) Received: from localhost.localdomain ([151.240.160.82]) by smtp.gmail.com with ESMTPSA id k11sm3211020wmi.35.2018.04.02.15.25.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Apr 2018 15:25:04 -0700 (PDT) From: Nasser Afshin X-Google-Original-From: Nasser Afshin Cc: Nasser Afshin , Mauro Carvalho Chehab , Hans Verkuil , Philipp Zabel , Sakari Ailus , "Gustavo A. R. Silva" , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] media: i2c: tvp5150: Use parentheses for sizeof Date: Tue, 3 Apr 2018 02:53:20 +0430 Message-Id: <20180402222322.30385-5-Afshin.Nasser@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180402222322.30385-1-Afshin.Nasser@gmail.com> References: <20180402222322.30385-1-Afshin.Nasser@gmail.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch resolves a checkpatch.pl warning: WARNING: sizeof *cap should be sizeof(*cap) Signed-off-by: Nasser Afshin --- drivers/media/i2c/tvp5150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c index d561d87d219a..d528fddbea16 100644 --- a/drivers/media/i2c/tvp5150.c +++ b/drivers/media/i2c/tvp5150.c @@ -625,7 +625,7 @@ static int tvp5150_g_sliced_vbi_cap(struct v4l2_subdev *sd, int line, i; dev_dbg_lvl(sd->dev, 1, debug, "g_sliced_vbi_cap\n"); - memset(cap, 0, sizeof *cap); + memset(cap, 0, sizeof(*cap)); for (i = 0; i < ARRAY_SIZE(vbi_ram_default); i++) { const struct i2c_vbi_ram_value *regs = &vbi_ram_default[i]; -- 2.15.0