From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A401C27C4F for ; Sun, 16 Jun 2024 00:20:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JIy1ZzGrQClPOvw4c+6GaehMSOgZM6FVpcMDAE4KR4s=; b=382/OATWrNTCOxH9w4B/3LN82p sED5QK1auSwTSsIEYexP+bhInHJGL1USfz0RZk5IvIrSw+z+i6lXCWwciW5UfRDhiGHesDlJ0NtUC 6o6MyRbEUrJxZGM/Da4GILFU3BD8+9NiSzSlJ0tsIkXMvu8Fl9EUTXFVJqsXM8zOe0W5d+HJFB6hW Kl/QFWUhI8vF1RfaMNZeDq7zLST/JfA093SGZYgCyj3Tb2Iclp8pION1Xsi2A13/Iuafd97m6zEcK qiaRYJWQlI/BPe0lwK65V+KwL6S2orbnPCCVJDVj6J0LRhY5aX1bR3gunW0Zv/U8iYGXF0/6qafGu A0ra0zSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIdd4-00000006LG3-043g; Sun, 16 Jun 2024 00:20:18 +0000 Received: from mgamail.intel.com ([198.175.65.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIdd0-00000006LEW-1ODi for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 00:20:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718497214; x=1750033214; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wwA+OqE2v6eOVsJjxE41uJDGwJ6LUdWs0oez7vI8tJ0=; b=Fd23Q7t3kDd3/ZMwShYDPbaQTJDE9SeUqsvw7cvUiHPSQ/ds8zDnnPeq 1OTIMvaQ66WCShwVSd0DXV2IutWm6TohF1UXXTxBec+oEk5WYxVoH3E6g 4a0CdJ//E7p4yTlxwIG0P54JIwVm55HXvWSJrHWIba+oDrfo0r9uv6Xdu MVj0E6URMtZkAkK5kWFAy0a1xpG7axmxWkTb8rWuJ+7MyMH9tVd4wRLKr 1I2XkN8BLhPAPiytwDiEQaM1WdDvP+jZEi7ZoJh4gBOOOppQW1z/6QSi7 sqB8OAPJ3cWJO9hCe0yUSsQr+blm01K/1hxYRC0S0+DfnqJbhf+iHb1/8 g==; X-CSE-ConnectionGUID: juXTMI7oT3GIaI6Ya/ULTQ== X-CSE-MsgGUID: 3uNUExn1QAKVCk2Qpiae6g== X-IronPort-AV: E=McAfee;i="6700,10204,11104"; a="19145772" X-IronPort-AV: E=Sophos;i="6.08,241,1712646000"; d="scan'208";a="19145772" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2024 17:20:08 -0700 X-CSE-ConnectionGUID: Dsk+HKVsTIOhZ4M66bYGxg== X-CSE-MsgGUID: fZPz2K0uQQih11sk8bAk1w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,241,1712646000"; d="scan'208";a="41529016" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 15 Jun 2024 17:20:05 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sIdcn-0000dm-2e; Sun, 16 Jun 2024 00:20:01 +0000 Date: Sun, 16 Jun 2024 08:19:46 +0800 From: kernel test robot To: Claudiu , geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lee@kernel.org, alexandre.belloni@bootlin.com, magnus.damm@gmail.com Cc: oe-kbuild-all@lists.linux.dev, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: Re: [PATCH 04/12] clk: renesas: clk-vbattb: Add VBATTB clock driver Message-ID: <202406160847.Ns62KOVc-lkp@intel.com> References: <20240614071932.1014067-5-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240614071932.1014067-5-claudiu.beznea.uj@bp.renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240615_172014_496708_D38601DC X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Claudiu, kernel test robot noticed the following build warnings: [auto build test WARNING on geert-renesas-drivers/renesas-clk] [also build test WARNING on geert-renesas-devel/next linus/master v6.10-rc3 next-20240613] [cannot apply to abelloni/rtc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Claudiu/clk-renesas-r9a08g045-Add-clock-reset-and-power-domain-support-for-the-VBATTB-IP/20240614-152418 base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git renesas-clk patch link: https://lore.kernel.org/r/20240614071932.1014067-5-claudiu.beznea.uj%40bp.renesas.com patch subject: [PATCH 04/12] clk: renesas: clk-vbattb: Add VBATTB clock driver config: mips-randconfig-r122-20240616 (https://download.01.org/0day-ci/archive/20240616/202406160847.Ns62KOVc-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240616/202406160847.Ns62KOVc-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406160847.Ns62KOVc-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/clk/renesas/clk-vbattb.c:132:35: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] size @@ got restricted gfp_t @@ drivers/clk/renesas/clk-vbattb.c:132:35: sparse: expected unsigned int [usertype] size drivers/clk/renesas/clk-vbattb.c:132:35: sparse: got restricted gfp_t >> drivers/clk/renesas/clk-vbattb.c:132:47: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted gfp_t [usertype] gfp @@ got unsigned int @@ drivers/clk/renesas/clk-vbattb.c:132:47: sparse: expected restricted gfp_t [usertype] gfp drivers/clk/renesas/clk-vbattb.c:132:47: sparse: got unsigned int drivers/clk/renesas/clk-vbattb.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...): include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false vim +132 drivers/clk/renesas/clk-vbattb.c 119 120 static int vbattb_clk_probe(struct platform_device *pdev) 121 { 122 struct clk_parent_data parent_data = { .fw_name = "vbattb_xtal" }; 123 struct device_node *np = pdev->dev.of_node; 124 struct device *dev = &pdev->dev; 125 struct clk_init_data init = {}; 126 struct vbattb_clk *vbclk; 127 u32 load_capacitance; 128 struct clk_hw *hw; 129 bool bypass; 130 int ret; 131 > 132 vbclk = devm_kzalloc(dev, GFP_KERNEL, sizeof(*vbclk)); 133 if (!vbclk) 134 return -ENOMEM; 135 136 vbclk->regmap = syscon_node_to_regmap(np->parent); 137 if (IS_ERR(vbclk->regmap)) 138 return PTR_ERR(vbclk->regmap); 139 140 bypass = of_property_read_bool(np, "renesas,vbattb-osc-bypass"); 141 ret = of_property_read_u32(np, "renesas,vbattb-load-nanofarads", &load_capacitance); 142 if (ret) 143 return ret; 144 145 ret = vbattb_clk_validate_load_capacitance(vbclk, load_capacitance); 146 if (ret) 147 return ret; 148 149 ret = devm_pm_runtime_enable(dev); 150 if (ret) 151 return ret; 152 153 ret = pm_runtime_resume_and_get(dev); 154 if (ret) 155 return ret; 156 157 regmap_update_bits(vbclk->regmap, VBATTB_BKSCCR, VBATTB_BKSCCR_SOSEL, 158 bypass ? VBATTB_BKSCCR_SOSEL : 0); 159 160 init.name = "vbattclk"; 161 init.ops = &vbattb_clk_ops; 162 init.parent_data = &parent_data; 163 init.num_parents = 1; 164 init.flags = 0; 165 166 vbclk->hw.init = &init; 167 hw = &vbclk->hw; 168 169 spin_lock_init(&vbclk->lock); 170 171 ret = devm_clk_hw_register(dev, hw); 172 if (ret) 173 goto rpm_put; 174 175 ret = of_clk_add_hw_provider(np, of_clk_hw_simple_get, hw); 176 if (ret) 177 goto rpm_put; 178 179 return 0; 180 181 rpm_put: 182 pm_runtime_put(dev); 183 return ret; 184 } 185 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki