From: kernel test robot <lkp@intel.com>
To: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>,
tomm.merciai@gmail.com, geert@linux-m68k.org,
laurent.pinchart@ideasonboard.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-renesas-soc@vger.kernel.org, biju.das.jz@bp.renesas.com,
Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Magnus Damm <magnus.damm@gmail.com>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v3 01/20] clk: renesas: rzv2h: Add PLLDSI clk mux support
Date: Sat, 31 Jan 2026 14:50:36 +0800 [thread overview]
Message-ID: <202601311423.gWtJuxiU-lkp@intel.com> (raw)
In-Reply-To: <2cc58beb0c0fd96b07374e1e84e90e860c81fb95.1769797221.git.tommaso.merciai.xr@bp.renesas.com>
Hi Tommaso,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20260129]
[also build test ERROR on linus/master v6.19-rc7]
[cannot apply to geert-renesas-drivers/renesas-clk drm-misc/drm-misc-next geert-renesas-devel/next v6.19-rc7 v6.19-rc6 v6.19-rc5]
[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/Tommaso-Merciai/clk-renesas-rzv2h-Add-PLLDSI-clk-mux-support/20260131-023642
base: next-20260129
patch link: https://lore.kernel.org/r/2cc58beb0c0fd96b07374e1e84e90e860c81fb95.1769797221.git.tommaso.merciai.xr%40bp.renesas.com
patch subject: [PATCH v3 01/20] clk: renesas: rzv2h: Add PLLDSI clk mux support
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20260131/202601311423.gWtJuxiU-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260131/202601311423.gWtJuxiU-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/202601311423.gWtJuxiU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/clk/renesas/rzv2h-cpg.c:796:10: error: invalid application of 'typeof' to bit-field
796 | width = fls(smux.width) - ffs(smux.width) + 1;
| ^
arch/riscv/include/asm/bitops.h:154:8: note: expanded from macro 'fls'
154 | typeof(x) x_ = (x); \
| ^
1 error generated.
vim +/typeof +796 drivers/clk/renesas/rzv2h-cpg.c
783
784 static struct clk * __init
785 rzv2h_cpg_plldsi_smux_clk_register(const struct cpg_core_clk *core,
786 struct rzv2h_cpg_priv *priv)
787 {
788 struct rzv2h_plldsi_mux_clk *clk_hw_data;
789 struct clk_init_data init;
790 struct clk_hw *clk_hw;
791 struct smuxed smux;
792 u8 width;
793 int ret;
794
795 smux = core->cfg.smux;
> 796 width = fls(smux.width) - ffs(smux.width) + 1;
797
798 if (width + smux.width > 16) {
799 dev_err(priv->dev, "mux value exceeds LOWORD field\n");
800 return ERR_PTR(-EINVAL);
801 }
802
803 clk_hw_data = devm_kzalloc(priv->dev, sizeof(*clk_hw_data), GFP_KERNEL);
804 if (!clk_hw_data)
805 return ERR_PTR(-ENOMEM);
806
807 clk_hw_data->priv = priv;
808
809 init.name = core->name;
810 init.ops = &rzv2h_cpg_plldsi_smux_ops;
811 init.flags = core->flag;
812 init.parent_names = core->parent_names;
813 init.num_parents = core->num_parents;
814
815 clk_hw_data->mux.reg = priv->base + smux.offset;
816
817 clk_hw_data->mux.shift = smux.shift;
818 clk_hw_data->mux.mask = smux.width;
819 clk_hw_data->mux.flags = core->mux_flags;
820 clk_hw_data->mux.lock = &priv->rmw_lock;
821
822 clk_hw = &clk_hw_data->mux.hw;
823 clk_hw->init = &init;
824
825 ret = devm_clk_hw_register(priv->dev, clk_hw);
826 if (ret)
827 return ERR_PTR(ret);
828
829 return clk_hw->clk;
830 }
831
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-31 6:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 18:29 [PATCH v3 00/20] Add support for DU and DSI on the Renesas RZ/G3E SoC Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 01/20] clk: renesas: rzv2h: Add PLLDSI clk mux support Tommaso Merciai
2026-01-31 6:50 ` kernel test robot [this message]
2026-01-30 18:29 ` [PATCH v3 02/20] clk: renesas: r9a09g047: Add CLK_PLLETH_LPCLK support Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 03/20] clk: renesas: r9a09g047: Add CLK_PLLDSI{0,1} clocks Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 04/20] clk: renesas: r9a09g047: Add CLK_PLLDSI{0,1}_DIV7 clocks Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 05/20] clk: renesas: r9a09g047: Add CLK_PLLDSI{0,1}_CSDIV clocks Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 06/20] clk: renesas: r9a09g047: Add support for SMUX2_DSI{0,1}_CLK Tommaso Merciai
2026-01-30 18:29 ` [PATCH v3 07/20] clk: renesas: r9a09g047: Add support for DSI clocks and resets Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 08/20] clk: renesas: r9a09g047: Add support for LCDC{0,1} " Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 09/20] dt-bindings: display: renesas,rzg2l-du: Add support for RZ/G3E SoC Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 10/20] dt-bindings: display: bridge: renesas,dsi: " Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 11/20] drm: renesas: rz-du: mipi_dsi: Add out_port to OF data Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 12/20] drm: renesas: rz-du: mipi_dsi: Add RZ_MIPI_DSI_FEATURE_GPO0R feature Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 13/20] drm: renesas: rz-du: mipi_dsi: Add support for RZ/G3E Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 14/20] drm: renesas: rz-du: Add RZ/G3E support Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 15/20] media: dt-bindings: media: renesas,vsp1: Document RZ/G3E Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 16/20] media: dt-bindings: media: renesas,fcp: Document RZ/G3E SoC Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 17/20] arm64: dts: renesas: r9a09g047: Add fcpvd{0,1} nodes Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 18/20] arm64: dts: renesas: r9a09g047: Add vspd{0,1} nodes Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 19/20] arm64: dts: renesas: r9a09g047: Add DU{0,1} and DSI nodes Tommaso Merciai
2026-01-30 18:30 ` [PATCH v3 20/20] arm64: dts: renesas: r9a09g047e57-smarc: Enable DU1 and DSI support Tommaso Merciai
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=202601311423.gWtJuxiU-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=krzk@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magnus.damm@gmail.com \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomm.merciai@gmail.com \
--cc=tommaso.merciai.xr@bp.renesas.com \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®