Re: [PATCH v1 2/2] clk: sprd: Add SC9832E clock driver
From: kernel test robot <hidden>
Date: 2026-01-20 22:11:37
Also in:
linux-clk, lkml, llvm, oe-kbuild-all
Hi Nadi, kernel test robot noticed the following build errors: [auto build test ERROR on clk/clk-next] [also build test ERROR on linus/master v6.19-rc6 next-20260120] [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/Nadi-Ke/dt-bindings-clock-sprd-Add-SC9832E-clock-controller/20260121-001334 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next patch link: https://lore.kernel.org/r/20260120144436.233998-3-kanadenady%40gmail.com patch subject: [PATCH v1 2/2] clk: sprd: Add SC9832E clock driver config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260121/202601210519.7t5mahjl-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260121/202601210519.7t5mahjl-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202601210519.7t5mahjl-lkp@intel.com/ (local) All errors (new ones prefixed by >>):
quoted
drivers/clk/sprd/sc9832e-clk.c:1041:24: error: use of undeclared identifier 'sc9832e_clk_ids'
1041 | match = of_match_node(sc9832e_clk_ids, pdev->dev.of_node);
| ^
drivers/clk/sprd/sc9832e-clk.c:1058:21: error: use of undeclared identifier 'sc9832e_clk_ids'; did you mean 'sc9832e_pll_hws'?
1058 | .of_match_table = sc9832e_clk_ids,
| ^~~~~~~~~~~~~~~
| sc9832e_pll_hws
drivers/clk/sprd/sc9832e-clk.c:162:35: note: 'sc9832e_pll_hws' declared here
162 | static struct clk_hw_onecell_data sc9832e_pll_hws = {
| ^quoted
drivers/clk/sprd/sc9832e-clk.c:1058:21: error: initializing 'const struct of_device_id *' with an expression of incompatible type 'struct clk_hw_onecell_data'
1058 | .of_match_table = sc9832e_clk_ids,
| ^~~~~~~~~~~~~~~
3 errors generated.
vim +/sc9832e_clk_ids +1041 drivers/clk/sprd/sc9832e-clk.c
1034
1035 static int sc9832e_clk_probe(struct platform_device *pdev)
1036 {
1037 const struct of_device_id *match;
1038 const struct sprd_clk_desc *desc;
1039 int ret;
1040 1041 match = of_match_node(sc9832e_clk_ids, pdev->dev.of_node);
1042 if (!match)
1043 return -ENODEV;
1044
1045 desc = match->data;
1046
1047 ret = sprd_clk_regmap_init(pdev, desc);
1048 if (ret)
1049 return ret;
1050
1051 return sprd_clk_probe(&pdev->dev, desc->hw_clks);
1052 }
1053
1054 static struct platform_driver sc9832e_clk_driver = {
1055 .probe = sc9832e_clk_probe,
1056 .driver = {
1057 .name = "sc9832e-clk",1058 .of_match_table = sc9832e_clk_ids,
1059 }, 1060 }; 1061 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki