Re: drivers/opp/core.c:2113: warning: Function parameter or member 'opp_table' not described in '_opp_set_regulators'

From: Viresh Kumar
Date: Wed Sep 27 2023 - 07:05:18 EST


On 09-09-23, 17:34, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 6099776f9f268e61fe5ecd721f994a8cfce5306f
> commit: b0ec09428621daee5101130c307634a390b0213b OPP: Migrate set-regulators API to use set-config helpers
> date: 1 year, 2 months ago
> config: csky-defconfig (https://download.01.org/0day-ci/archive/20230909/202309091728.siozDgSB-lkp@xxxxxxxxx/config)
> compiler: csky-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309091728.siozDgSB-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202309091728.siozDgSB-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/opp/core.c:2113: warning: Function parameter or member 'opp_table' not described in '_opp_set_regulators'
> >> drivers/opp/core.c:2113: warning: Excess function parameter 'count' description in '_opp_set_regulators'
> drivers/opp/core.c:2756: warning: Function parameter or member 'token' not described in 'dev_pm_opp_clear_config'
> drivers/opp/core.c:2756: warning: Excess function parameter 'opp_table' description in 'dev_pm_opp_clear_config'

I have sent patches to fix all warnings related to OPP core:

https://lore.kernel.org/all/0484680a9c7bb66cf1fb583a5178e753dd763afd.1695812634.git.viresh.kumar@xxxxxxxxxx/

--
viresh