Hi Cezary,
kernel test robot noticed the following build errors:
[auto build test ERROR on 564ee9ac788b680e4ec4a6cb3a4a953dc61d5da8]
url: https://github.com/intel-lab-lkp/linux/commits/Cezary-Rojewski/ALSA-pcm-Intr... base: 564ee9ac788b680e4ec4a6cb3a4a953dc61d5da8 patch link: https://lore.kernel.org/r/20230918133940.3676091-16-cezary.rojewski%40intel.... patch subject: [PATCH v2 15/17] ALSA: hda: Drop snd_hdac_calc_stream_format() config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20230918/202309182301.K9lVpMbl-lkp@i...) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230918/202309182301.K9lVpMbl-lkp@i...)
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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202309182301.K9lVpMbl-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/soc/sof/intel/hda-dai-ops.c: In function 'generic_calc_stream_format':
sound/soc/sof/intel/hda-dai-ops.c:243:22: error: implicit declaration of function 'snd_hdac_calc_stream_format'; did you mean 'hda_calc_stream_format'? [-Werror=implicit-function-declaration]
243 | format_val = snd_hdac_calc_stream_format(params_rate(params), params_channels(params), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | hda_calc_stream_format cc1: some warnings being treated as errors
vim +243 sound/soc/sof/intel/hda-dai-ops.c
d1bf58474d17a7 Pierre-Louis Bossart 2023-06-02 236 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 237 static unsigned int generic_calc_stream_format(struct snd_sof_dev *sdev, 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 238 struct snd_pcm_substream *substream, 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 239 struct snd_pcm_hw_params *params) 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 240 { 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 241 unsigned int format_val; 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 242 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 @243 format_val = snd_hdac_calc_stream_format(params_rate(params), params_channels(params), 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 244 params_format(params), 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 245 params_physical_width(params), 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 246 0); 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 247 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 248 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 249 params_rate(params), params_channels(params), params_format(params)); 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 250 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 251 return format_val; 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 252 } 12547730e5b7c4 Pierre-Louis Bossart 2023-08-07 253