Re: [PATCH v3 04/20] ASoC: mediatek: mt6359-accdet: Add compatible property
From: kernel test robot
Date: Thu Mar 06 2025 - 15:50:37 EST
Hi Nícolas,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 20d5c66e1810e6e8805ec0d01373afb2dba9f51a]
url: https://github.com/intel-lab-lkp/linux/commits/N-colas-F-R-A-Prado/ASoC-dt-bindings-Add-document-for-mt6359-accdet/20250304-233834
base: 20d5c66e1810e6e8805ec0d01373afb2dba9f51a
patch link: https://lore.kernel.org/r/20250304-mt6359-accdet-dts-v3-4-5b0eafc29f5b%40collabora.com
patch subject: [PATCH v3 04/20] ASoC: mediatek: mt6359-accdet: Add compatible property
config: s390-randconfig-r133-20250306 (https://download.01.org/0day-ci/archive/20250307/202503070421.25fbw6zg-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20250307/202503070421.25fbw6zg-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/202503070421.25fbw6zg-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/mt6359-accdet.c:1050:27: sparse: sparse: symbol 'accdet_of_match' was not declared. Should it be static?
vim +/accdet_of_match +1050 sound/soc/codecs/mt6359-accdet.c
1049
> 1050 const struct of_device_id accdet_of_match[] = {
1051 { .compatible = "mediatek,mt6359-accdet", },
1052 { /* sentinel */ },
1053 };
1054 MODULE_DEVICE_TABLE(of, accdet_of_match);
1055
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki