Re: [PATCH v3 2/2] ASoC: airoha: Add support for AN7581 PCM driver
From: kernel test robot
Date: Sat Oct 10 2026 - 03:38:05 EST
Hi Christian,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on next-20261009]
[cannot apply to linus/master v7.3-rc6]
[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/Christian-Marangi/ASoC-dt-bindings-airoha-Add-AN7581-PCM-controller/20261009-131331
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20261009111334.23522-3-ansuelsmth%40gmail.com
patch subject: [PATCH v3 2/2] ASoC: airoha: Add support for AN7581 PCM driver
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261010/202610101524.PIlCqVIG-lkp@xxxxxxxxx/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 242243a5814307de825db3428662d67b064e2cbc)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261010/202610101524.PIlCqVIG-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/202610101524.PIlCqVIG-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> sound/soc/airoha/an7581-pcm.c:618:3: error: field designator 'pcm_construct' does not refer to any field in type 'const struct snd_soc_component_driver'
618 | .pcm_construct = an7581_pcm_new,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/airoha/an7581-pcm.c:778:14: warning: unused variable 'connection_type' [-Wunused-variable]
778 | const char *connection_type;
| ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +618 sound/soc/airoha/an7581-pcm.c
614
615 static const struct snd_soc_component_driver an7581_pcm_platform = {
616 .name = "an7581-pcm-audio",
617 .pointer = an7581_pcm_pointer,
> 618 .pcm_construct = an7581_pcm_new,
619 };
620
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki