Re: [PATCH v7 09/10] ASoC: mediatek: mt8196: add machine driver with nau8825

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Hi Darren.Ye,
kernel test robot noticed the following build warnings:
[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on broonie-spi/for-next robh/for-next linus/master v6.17-rc3 next-20250825]
[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/Darren-Ye/ASoC-mediatek-common-modify-mtk-afe-platform-driver-for-mt8196/20250822-210108
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20250822125301.12333-10-darren.ye%40mediatek.com
patch subject: [PATCH v7 09/10] ASoC: mediatek: mt8196: add machine driver with nau8825
config: arm64-randconfig-r131-20250826 (https://download.01.org/0day-ci/archive/20250826/202508261004.7adPXk4m-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d26ea02060b1c9db751d188b2edb0059a9eb273d)
reproduce: (https://download.01.org/0day-ci/archive/20250826/202508261004.7adPXk4m-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/202508261004.7adPXk4m-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/mediatek/mt8196/mt8196-nau8825.c:183:33: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int to @@ got restricted snd_pcm_format_t [usertype] @@
 sound/soc/mediatek/mt8196/mt8196-nau8825.c:183:33: sparse: expected unsigned int to
 sound/soc/mediatek/mt8196/mt8196-nau8825.c:183:33: sparse: got restricted snd_pcm_format_t [usertype]
vim +183 sound/soc/mediatek/mt8196/mt8196-nau8825.c
 175	
 176	static int mt8196_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
 177					 struct snd_pcm_hw_params *params)
 178	{
 179		dev_info(rtd->dev, "fix format to 32bit\n");
 180	
 181		/* fix BE i2s format to 32bit, clean param mask first */
 182		snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT),
 > 183				 0, SNDRV_PCM_FORMAT_LAST);
 184	
 185		params_set_format(params, SNDRV_PCM_FORMAT_S32_LE);
 186		return 0;
 187	}
 188	
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

[Index of Archives] [Linux SPI] [Linux Kernel] [Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [Linux for Samsung SOC] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [Linux MIPS] [Yosemite Campsites]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /