[chenxing:mstar_v6_5_reorder 5/700] drivers/clk/mstar/clk-msc313-miupll.c:40:30: warning: unused variable 'miupll'

kernel test robot <[email protected]> Fri, 31 Jul 2026 07:14:14 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder
head:   1a5c60e65ea399670a5384b869c4958338af2799
commit: d1f1fc4ffade5014d2301ac799b344cecb0a271a [5/700] clk: mstar: miupll driver
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   drivers/clk/mstar/clk-msc313-miupll.c: In function 'mstar_miupll_is_enabled':
>> drivers/clk/mstar/clk-msc313-miupll.c:40:30: warning: unused variable 'miupll' [-Wunused-variable]
      40 |         struct mstar_miupll *miupll = to_miupll(hw);
         |                              ^~~~~~


vim +/miupll +40 drivers/clk/mstar/clk-msc313-miupll.c

    37	
    38	static int mstar_miupll_is_enabled(struct clk_hw *hw)
    39	{
  > 40		struct mstar_miupll *miupll = to_miupll(hw);
    41	
    42		return 0;
    43	}
    44	

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