Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp930104imm; Fri, 11 May 2018 08:29:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp27ET9funKfPhOFqe32XkJPLIRgJIj/QlGxh8IKpMMMBU51WGSx/7Rhev8dHjzl+i1aJe+ X-Received: by 2002:a65:4341:: with SMTP id k1-v6mr4791257pgq.10.1526052561077; Fri, 11 May 2018 08:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526052561; cv=none; d=google.com; s=arc-20160816; b=h+zC2J/UA+ziY+uixXMdSEgYT42nSW/mWTwbj67nCTlftLA2HsusyT9QB3AXmpTb2P UQtk+erBsyPIZ2nfZuaLTFrsx6eR1LpkmX0QNBj33b5EZMTZoL2EjmMkEUHEtL8H4iPu z9UkR5Qom0YYdnOU0+8FBnd13wS/MqjRvbxiRyORxuNCGetn5cC+9FdLf2TGLB6q6Nff UCfRDHJyrupXC6GQeqB2zLwkyV/j0yAjRR5uQphdyFNPW5LvCVfsUQjBbQuVpWfftZU9 P0/zgWNx4Mh6GE/Ey6k/mowaVpNqXOFE9MEkH5S/qvEuU7F8Z28krLrpryhAnW3/8xuw 8oYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=5d5XXaxNeLNdAaPoE2F9k1z8aA0O7F4ItX6/M0Ow0uk=; b=WKmbiJxYlBINClpDzQjwQYo8/EI1Tj1VkYvTYPRbH0q/WzFyxrf6MOepOjOoZEPs4D fuIPhApWVeZr4zDpqmOtSBqambKLB1l37GLvKF/TfAtVOQllTwyYROJjdAgHID2FFqiC sX/Xk8MqDiRdHylwc/vMC56FEu5kRp3DWZq2mTeH7nolhXeJxDi2WTb8VNoFMIJNmKyZ dEJ+4RN1O2xI0VnoV+zJTJQLKa3Hckwv5d7GKAV2SpRC69F8pYWaFOHjrc63ivHrtM+I ZhMDze8fLj8ACardVXhYumD7xChWreXZtgbSGRjDYDkeMIDKQP2vsRN0l0Fw0aEu04+Y PGEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=B+yU/Bdq; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13-v6si2801350pgp.168.2018.05.11.08.29.06; Fri, 11 May 2018 08:29:21 -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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=B+yU/Bdq; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751333AbeEKP1u (ORCPT + 99 others); Fri, 11 May 2018 11:27:50 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:19657 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbeEKP1s (ORCPT ); Fri, 11 May 2018 11:27:48 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4BFQjwl012949; Fri, 11 May 2018 10:26:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526052405; bh=5d5XXaxNeLNdAaPoE2F9k1z8aA0O7F4ItX6/M0Ow0uk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=B+yU/BdqZB+20SIfnf6hBE6Ryvt5UaPKOdfCgxjmkFF+wYdVFoYg+ep856Hu3/6VR XyiNJZ9lPorFDnVmUPmPWbduKXTtbJysEw0j/Ucp4KR9p1s6hDXwzY8VMwyEe36CRz sSi5muL1N3bME0NWatSJatzdKk/cDdBO72s+ENWo= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BFQj7I012781; Fri, 11 May 2018 10:26:45 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 11 May 2018 10:26:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 11 May 2018 10:26:44 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BFQeUl032310; Fri, 11 May 2018 10:26:41 -0500 Subject: =?UTF-8?Q?Re:_[PATCH_v10_00/27]_ARM:_davinci:_convert_to_common_clo?= =?UTF-8?B?Y2sgZnJhbWV3b3Jr4oCL?= To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <20180509172606.29387-1-david@lechnology.com> From: Sekhar Nori Message-ID: <45ce3129-4a9e-54d2-e594-49b451571842@ti.com> Date: Fri, 11 May 2018 20:56:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180509172606.29387-1-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 3 patches fix some issues with the clock > drivers that have already been accepted into the mainline kernel. I have not yet looked at the patches, but I got a bunch of W=1 warnings and some sparse warnings when building your branch. Please take a look at these. Unfortunately the output is mixed between sparse and compiler. The "expression using sizeof(void)" can be ignored as its a known issue with sparse, I believe. Thanks, Sekhar drivers/clk/davinci/pll-da830.c:39:5: warning: symbol 'da830_pll_init' was not declared. Should it be static? drivers/clk/davinci/pll.c:142:16: warning: expression using sizeof(void) drivers/clk/davinci/pll.c:142:16: warning: expression using sizeof(void) drivers/clk/davinci/pll-da850.c:87:5: warning: symbol 'da850_pll0_init' was not declared. Should it be static? drivers/clk/davinci/pll-da830.c:39:5: warning: no previous prototype for ‘da830_pll_init’ [-Wmissing-prototypes] int da830_pll_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~ drivers/clk/davinci/pll-da850.c:87:5: warning: no previous prototype for ‘da850_pll0_init’ [-Wmissing-prototypes] int da850_pll0_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~ drivers/clk/davinci/pll-dm355.c:30:5: warning: symbol 'dm355_pll1_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm365.c:59:5: warning: symbol 'dm365_pll1_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm365.c:122:5: warning: symbol 'dm365_pll2_init' was not declared. Should it be static? drivers/clk/davinci/da8xx-cfgchip.c:581: warning: Function parameter or member 'dev' not described in 'da8xx_cfgchip_register_usb1_clk48' drivers/clk/davinci/pll-dm646x.c:32:5: warning: symbol 'dm646x_pll1_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm644x.c:30:5: warning: symbol 'dm644x_pll1_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm365.c:59:5: warning: no previous prototype for ‘dm365_pll1_init’ [-Wmissing-prototypes] int dm365_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~ drivers/clk/davinci/pll-dm365.c:122:5: warning: no previous prototype for ‘dm365_pll2_init’ [-Wmissing-prototypes] int dm365_pll2_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~ drivers/clk/davinci/pll-dm355.c:30:5: warning: no previous prototype for ‘dm355_pll1_init’ [-Wmissing-prototypes] int dm355_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~ drivers/clk/davinci/psc.c:310:5: warning: symbol 'davinci_clk_reset_assert' was not declared. Should it be static? drivers/clk/davinci/psc.c:316:5: warning: symbol 'davinci_clk_reset_deassert' was not declared. Should it be static? drivers/clk/davinci/psc-dm644x.c:66:5: warning: symbol 'dm644x_psc_init' was not declared. Should it be static? drivers/clk/davinci/psc-dm355.c:71:5: warning: symbol 'dm355_psc_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm646x.c:32:5: warning: no previous prototype for ‘dm646x_pll1_init’ [-Wmissing-prototypes] int dm646x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~~ drivers/clk/davinci/psc-dm365.c:76:5: warning: symbol 'dm365_psc_init' was not declared. Should it be static? drivers/clk/davinci/psc-dm646x.c:61:5: warning: symbol 'dm646x_psc_init' was not declared. Should it be static? drivers/clk/davinci/pll-dm644x.c:30:5: warning: no previous prototype for ‘dm644x_pll1_init’ [-Wmissing-prototypes] int dm644x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) ^~~~~~~~~~~~~~~~ drivers/clk/davinci/psc-dm355.c:71:5: warning: no previous prototype for ‘dm355_psc_init’ [-Wmissing-prototypes] int dm355_psc_init(struct device *dev, void __iomem *base) ^~~~~~~~~~~~~~ In file included from drivers/clk/davinci/psc-dm355.c:15:0: drivers/clk/davinci/psc-dm355.c:26:14: warning: ‘mcbsp0_clkdev’ defined but not used [-Wunused-const-variable=] LPSC_CLKDEV1(mcbsp0_clkdev, NULL, "davinci-mcbsp.0"); ^ drivers/clk/davinci/psc.h:31:46: note: in definition of macro ‘LPSC_CLKDEV1’ static const struct davinci_lpsc_clkdev_info n[] __initconst = { \ ^ drivers/clk/davinci/psc-dm355.c:21:14: warning: ‘mcbsp1_clkdev’ defined but not used [-Wunused-const-variable=] LPSC_CLKDEV1(mcbsp1_clkdev, NULL, "davinci-mcbsp.1"); ^ drivers/clk/davinci/psc.h:31:46: note: in definition of macro ‘LPSC_CLKDEV1’ static const struct davinci_lpsc_clkdev_info n[] __initconst = { \ ^ drivers/clk/davinci/psc-dm365.c:76:5: warning: no previous prototype for ‘dm365_psc_init’ [-Wmissing-prototypes] int dm365_psc_init(struct device *dev, void __iomem *base) ^~~~~~~~~~~~~~ drivers/clk/davinci/psc-dm646x.c:61:5: warning: no previous prototype for ‘dm646x_psc_init’ [-Wmissing-prototypes] int dm646x_psc_init(struct device *dev, void __iomem *base) ^~~~~~~~~~~~~~~ drivers/clk/davinci/psc-dm644x.c:66:5: warning: no previous prototype for ‘dm644x_psc_init’ [-Wmissing-prototypes] int dm644x_psc_init(struct device *dev, void __iomem *base) ^~~~~~~~~~~~~~~ drivers/clk/davinci/pll.c:496: warning: Function parameter or member 'dev' not described in 'davinci_pll_auxclk_register' drivers/clk/davinci/psc.c:310:5: warning: no previous prototype for ‘davinci_clk_reset_assert’ [-Wmissing-prototypes] int davinci_clk_reset_assert(struct clk *clk) ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/clk/davinci/psc.c:316:5: warning: no previous prototype for ‘davinci_clk_reset_deassert’ [-Wmissing-prototypes] int davinci_clk_reset_deassert(struct clk *clk) ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/clk/davinci/pll.c:509: warning: Function parameter or member 'dev' not described in 'davinci_pll_sysclkbp_clk_register' drivers/clk/davinci/pll.c:524: warning: Function parameter or member 'dev' not described in 'davinci_pll_obsclk_register' drivers/clk/davinci/pll.c:605: warning: Function parameter or member 'dev' not described in 'davinci_pll_sysclk_register'