Subject: Re: [PATCH v7 4/6] clk: qcom: Add NSS clock Controller driver for IPQ9574

From: kernel test robot <[email-masked]>
Date: Thu, 10 Oct 2024 14:31:30 +0800

Hi Manikanta,

kernel test robot noticed the following build errors:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next arm64/for-next/core linus/master v6.12-rc2 next-20241009]
[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/Manikanta-Mylavarapu/dt-bindings-clock-gcc-ipq9574-Add-definition-for-GPLL0_OUT_AUX/20241009-154517
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link:    https://lore.kernel.org/r/20241009074125.794997-5-quic_mmanikan%40quicinc.com
patch subject: [PATCH v7 4/6] clk: qcom: Add NSS clock Controller driver for IPQ9574
config: openrisc-allyesconfig (https://download.01.org/0day-ci/archive/20241010/[email-masked]/config)
compiler: or1k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241010/[email-masked]/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 <[email-masked]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email-masked]/

All errors (new ones prefixed by >>):

>> drivers/clk/qcom/nsscc-ipq9574.c:80:36: error: 'CLK_ALPHA_PLL_TYPE_NSS_HUAYRA' undeclared here (not in a function); did you mean 'CLK_ALPHA_PLL_TYPE_HUAYRA'?
      80 |         .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_NSS_HUAYRA],
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                    CLK_ALPHA_PLL_TYPE_HUAYRA

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for GET_FREE_REGION
   Depends on [n]: SPARSEMEM [=n]
   Selected by [y]:
   - RESOURCE_KUNIT_TEST [=y] && RUNTIME_TESTING_MENU [=y] && KUNIT [=y]

vim +80 drivers/clk/qcom/nsscc-ipq9574.c

    77	
    78	static struct clk_alpha_pll ubi32_pll_main = {
    79		.offset = 0x28000,
  > 80		.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_NSS_HUAYRA],
    81		.flags = SUPPORTS_DYNAMIC_UPDATE,
    82		.clkr = {
    83			.hw.init = &(const struct clk_init_data) {
    84				.name = "ubi32_pll_main",
    85				.parent_data = &(const struct clk_parent_data) {
    86					.index = DT_XO,
    87				},
    88				.num_parents = 1,
    89				.ops = &clk_alpha_pll_huayra_ops,
    90			},
    91		},
    92	};
    93	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki