[PATCH] clk: thead: th1520-ap: Correctly refer the parent for c910 and osc_12m
kernel test robot
lkp at intel.com
Tue Jul 8 22:07:25 PDT 2025
Hi Yao,
kernel test robot noticed the following build warnings:
[auto build test WARNING on clk/clk-next]
[also build test WARNING on linus/master v6.16-rc5 next-20250708]
[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/Yao-Zi/clk-thead-th1520-ap-Correctly-refer-the-parent-for-c910-and-osc_12m/20250705-132237
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/20250705052028.24611-1-ziyao%40disroot.org
patch subject: [PATCH] clk: thead: th1520-ap: Correctly refer the parent for c910 and osc_12m
config: riscv-randconfig-r131-20250709 (https://download.01.org/0day-ci/archive/20250709/202507091214.BjAuy5rw-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 15.1.0
reproduce: (https://download.01.org/0day-ci/archive/20250709/202507091214.BjAuy5rw-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507091214.BjAuy5rw-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
WARNING: invalid argument to '-march': '_zacas_zabha'
>> drivers/clk/thead/clk-th1520-ap.c:585:25: sparse: sparse: symbol 'osc12m_clk' was not declared. Should it be static?
vim +/osc12m_clk +585 drivers/clk/thead/clk-th1520-ap.c
584
> 585 struct clk_fixed_factor osc12m_clk = {
586 .div = 2,
587 .mult = 1,
588 .hw.init = CLK_HW_INIT_PARENTS_DATA("osc_12m",
589 osc_24m_clk,
590 &clk_fixed_factor_ops,
591 0),
592 };
593
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-riscv
mailing list