All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: sound: airoha: add support for AN7581 PCM driver
@ 2026-10-05 11:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-05 11:54 UTC (permalink / raw)
  Cc: oe-kbuild-all

Hi Christian,

kernel test robot noticed the following build errors:



url:    https://github.com/intel-lab-lkp/linux/commits/Christian-Marangi/sound-airoha-add-support-for-AN7581-PCM-driver/20260930-090715
base:   
patch link:    https://lore.kernel.org/r/202610051905.F63br3re-lkp%40intel.com
config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20261005/202610051905.F63br3re-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610051905.F63br3re-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610051905.F63br3re-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/airoha/an7581-pcm.c:617:10: error: 'const struct snd_soc_component_driver' has no member named 'pcm_construct'
     617 |         .pcm_construct = an7581_pcm_new,
         |          ^~~~~~~~~~~~~
>> sound/soc/airoha/an7581-pcm.c:617:26: error: initialization of 'int (*)(struct snd_soc_component *, struct snd_pcm_substream *, struct timespec64 *, struct timespec64 *, struct snd_pcm_audio_tstamp_config *, struct snd_pcm_audio_tstamp_report *)' from incompatible pointer type 'int (*)(struct snd_soc_component *, struct snd_soc_pcm_runtime *)' [-Wincompatible-pointer-types]
     617 |         .pcm_construct = an7581_pcm_new,
         |                          ^~~~~~~~~~~~~~
   sound/soc/airoha/an7581-pcm.c:617:26: note: (near initialization for 'an7581_pcm_platform.get_time_info')
   sound/soc/airoha/an7581-pcm.c:602:12: note: 'an7581_pcm_new' declared here
     602 | static int an7581_pcm_new(struct snd_soc_component *component,
         |            ^~~~~~~~~~~~~~


vim +617 sound/soc/airoha/an7581-pcm.c

   613	
   614	static const struct snd_soc_component_driver an7581_pcm_platform = {
   615		.name = "an7581-pcm-audio",
   616		.pointer = an7581_pcm_pointer,
 > 617		.pcm_construct = an7581_pcm_new,
   618	};
   619	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-05 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 11:54 sound: airoha: add support for AN7581 PCM driver kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.