sound/soc/fsl/fsl-asoc-card.c:57: warning: Function parameter or member 'mclk' not described in 'codec_priv'

From: kernel test robot
Date: Fri Oct 06 2023 - 22:49:48 EST


Hi Hui,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 82714078aee4ccbd6ee7579d5a21f8a72155d0fb
commit: 1075df4bdeb320bbf94a1f6d3761391264eb2c7f ASoC: fsl-asoc-card: add nau8822 support
date: 4 months ago
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231007/202310071052.e2QMGLd2-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231007/202310071052.e2QMGLd2-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/202310071052.e2QMGLd2-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/soc/fsl/fsl-asoc-card.c:57: warning: Function parameter or member 'mclk' not described in 'codec_priv'


vim +57 sound/soc/fsl/fsl-asoc-card.c

708b4351f08c08 Nicolin Chen 2014-07-30 41
708b4351f08c08 Nicolin Chen 2014-07-30 42 /**
31deacffcdba10 Pierre-Louis Bossart 2020-07-02 43 * struct codec_priv - CODEC private data
708b4351f08c08 Nicolin Chen 2014-07-30 44 * @mclk_freq: Clock rate of MCLK
efd0b1660829a9 Shengjiu Wang 2021-03-17 45 * @free_freq: Clock rate of MCLK for hw_free()
708b4351f08c08 Nicolin Chen 2014-07-30 46 * @mclk_id: MCLK (or main clock) id for set_sysclk()
708b4351f08c08 Nicolin Chen 2014-07-30 47 * @fll_id: FLL (or secordary clock) id for set_sysclk()
708b4351f08c08 Nicolin Chen 2014-07-30 48 * @pll_id: PLL id for set_pll()
708b4351f08c08 Nicolin Chen 2014-07-30 49 */
708b4351f08c08 Nicolin Chen 2014-07-30 50 struct codec_priv {
1075df4bdeb320 Hui Wang 2022-06-16 51 struct clk *mclk;
708b4351f08c08 Nicolin Chen 2014-07-30 52 unsigned long mclk_freq;
efd0b1660829a9 Shengjiu Wang 2021-03-17 53 unsigned long free_freq;
708b4351f08c08 Nicolin Chen 2014-07-30 54 u32 mclk_id;
708b4351f08c08 Nicolin Chen 2014-07-30 55 u32 fll_id;
708b4351f08c08 Nicolin Chen 2014-07-30 56 u32 pll_id;
708b4351f08c08 Nicolin Chen 2014-07-30 @57 };
708b4351f08c08 Nicolin Chen 2014-07-30 58

:::::: The code at line 57 was first introduced by commit
:::::: 708b4351f08c08ea93f773fb9197bdd3f3b08273 ASoC: fsl: Add Freescale Generic ASoC Sound Card with ASRC support

:::::: TO: Nicolin Chen <nicoleotsuka@xxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxx>

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