From: kernel test robot <lkp@intel.com>
To: Claudiu <claudiu.beznea@tuxon.dev>,
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 <claudiu.beznea.uj@bp.renesas.com>
Subject: Re: [PATCH 04/12] clk: renesas: clk-vbattb: Add VBATTB clock driver
Date: Sun, 16 Jun 2024 08:19:46 +0800 [thread overview]
Message-ID: <202406160847.Ns62KOVc-lkp@intel.com> (raw)
In-Reply-To: <20240614071932.1014067-5-claudiu.beznea.uj@bp.renesas.com>
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 <lkp@intel.com>
| 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
next prev parent reply other threads:[~2024-06-16 0:20 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 7:19 [PATCH 00/12] Add RTC support for the Renesas RZ/G3S SoC Claudiu
2024-06-14 7:19 ` [PATCH 01/12] clk: renesas: r9a08g045: Add clock, reset and power domain support for the VBATTB IP Claudiu
2024-06-26 12:09 ` Geert Uytterhoeven
2024-06-14 7:19 ` [PATCH 02/12] dt-bindings: clock: renesas,rzg3s-vbattb-clk: Document the VBATTB clock driver Claudiu
2024-06-15 12:17 ` Conor Dooley
2024-06-17 7:02 ` claudiu beznea
2024-06-17 15:19 ` Conor Dooley
2024-06-18 7:34 ` claudiu beznea
2024-06-18 7:56 ` Geert Uytterhoeven
2024-06-18 8:11 ` claudiu beznea
2024-06-16 7:38 ` Krzysztof Kozlowski
2024-06-17 7:34 ` claudiu beznea
2024-06-14 7:19 ` [PATCH 03/12] dt-bindings: mfd: renesas,rzg3s-vbattb: Document VBATTB Claudiu
2024-06-15 12:19 ` Conor Dooley
2024-06-17 7:04 ` claudiu beznea
2024-06-16 7:38 ` Krzysztof Kozlowski
2024-06-17 7:16 ` claudiu beznea
2024-06-17 7:25 ` claudiu beznea
2024-06-17 8:10 ` Krzysztof Kozlowski
2024-06-14 7:19 ` [PATCH 04/12] clk: renesas: clk-vbattb: Add VBATTB clock driver Claudiu
2024-06-15 22:25 ` kernel test robot
2024-06-16 0:19 ` kernel test robot [this message]
2024-06-14 7:19 ` [PATCH 05/12] dt-bindings: rtc: renesas,rzg3s-rtc: Document the Renesas RZ/G3S RTC Claudiu
2024-06-14 7:53 ` Biju Das
2024-06-14 8:16 ` claudiu beznea
2024-06-14 8:22 ` Biju Das
2024-06-15 12:16 ` Conor Dooley
2024-06-15 12:20 ` Conor Dooley
2024-06-17 7:19 ` claudiu beznea
2024-06-17 15:17 ` Conor Dooley
2024-06-16 7:40 ` Krzysztof Kozlowski
2024-06-17 7:24 ` claudiu beznea
2024-06-14 7:19 ` [PATCH 06/12] rtc: renesas-rtca3: Add driver for RTCA-3 available on Renesas RZ/G3S SoC Claudiu
2024-06-14 7:51 ` Biju Das
2024-06-14 9:21 ` Alexandre Belloni
2024-06-14 11:06 ` claudiu beznea
2024-06-17 7:25 ` Alexandre Belloni
2024-06-17 7:31 ` claudiu beznea
2024-07-16 8:01 ` claudiu beznea
2024-06-14 7:19 ` [PATCH 07/12] arm64: dts: renesas: r9a08g045: Add VBATTB node Claudiu
2024-06-14 7:19 ` [PATCH 08/12] arm64: dts: renesas: r9a08g045: Add RTC node Claudiu
2024-06-14 7:19 ` [PATCH 09/12] arm64: dts: renesas: rzg3s-smarc-som: Enable VBATTB clock Claudiu
2024-06-14 7:19 ` [PATCH 10/12] arm64: dts: renesas: rzg3s-smarc-som: Enable RTC Claudiu
2024-06-14 7:19 ` [PATCH 11/12] arm64: defconfig: Enable VBATTB clock flag Claudiu
2024-06-14 7:19 ` [PATCH 12/12] arm64: defconfig: Enable Renesas RTCA-3 flag Claudiu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202406160847.Ns62KOVc-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).