All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [plbossart-sound:old/rewind-spib 4/4] sound/soc/intel/skylake/skl-pcm.c:399:51: error: 'struct hdac_ext_stream' has no member named 'index'
Date: Wed, 24 Feb 2021 12:21:38 +0800	[thread overview]
Message-ID: <202102241226.IXdxdmos-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3870 bytes --]

tree:   https://github.com/plbossart/sound old/rewind-spib
head:   b42e9a7299897f51657af6c52e7446fd42cb5ed0
commit: b42e9a7299897f51657af6c52e7446fd42cb5ed0 [4/4] ASoC: Intel: Skylake: add support for spib mode
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/plbossart/sound/commit/b42e9a7299897f51657af6c52e7446fd42cb5ed0
        git remote add plbossart-sound https://github.com/plbossart/sound
        git fetch --no-tags plbossart-sound old/rewind-spib
        git checkout b42e9a7299897f51657af6c52e7446fd42cb5ed0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   sound/soc/intel/skylake/skl-pcm.c: In function 'skl_pcm_hw_free':
>> sound/soc/intel/skylake/skl-pcm.c:399:51: error: 'struct hdac_ext_stream' has no member named 'index'
     399 |   snd_hdac_ext_stream_spbcap_enable(bus, 0, stream->index);
         |                                                   ^~
   sound/soc/intel/skylake/skl-pcm.c: At top level:
>> sound/soc/intel/skylake/skl-pcm.c:1505:3: error: 'const struct snd_soc_component_driver' has no member named 'ack'
    1505 |  .ack  = skl_platform_soc_ack,
         |   ^~~
>> sound/soc/intel/skylake/skl-pcm.c:1505:10: 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_pcm_substream *)' [-Werror=incompatible-pointer-types]
    1505 |  .ack  = skl_platform_soc_ack,
         |          ^~~~~~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-pcm.c:1505:10: note: (near initialization for 'skl_component.get_time_info')
   sound/soc/intel/skylake/skl-pcm.c:1506:19: warning: initialized field overwritten [-Woverride-init]
    1506 |  .get_time_info = skl_platform_soc_get_time_info,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-pcm.c:1506:19: note: (near initialization for 'skl_component.get_time_info')
   cc1: some warnings being treated as errors


vim +399 sound/soc/intel/skylake/skl-pcm.c

   382	
   383	static int skl_pcm_hw_free(struct snd_pcm_substream *substream,
   384			struct snd_soc_dai *dai)
   385	{
   386		struct hdac_ext_stream *stream = get_hdac_ext_stream(substream);
   387		struct hdac_bus *bus = dev_get_drvdata(dai->dev);
   388		struct snd_pcm_runtime *runtime = substream->runtime;
   389		struct skl_dev *skl = get_skl_ctx(dai->dev);
   390		struct skl_module_cfg *mconfig;
   391		int ret;
   392	
   393		dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name);
   394	
   395		mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream);
   396	
   397		if (runtime->no_rewinds) {
   398			snd_hdac_ext_stream_set_spib(bus, stream, 0);
 > 399			snd_hdac_ext_stream_spbcap_enable(bus, 0, stream->index);
   400		}
   401		if (mconfig) {
   402			ret = skl_reset_pipe(skl, mconfig->pipe);
   403			if (ret < 0)
   404				dev_err(dai->dev, "%s:Reset failed ret =%d",
   405							__func__, ret);
   406		}
   407	
   408		snd_hdac_stream_cleanup(hdac_stream(stream));
   409		hdac_stream(stream)->prepared = 0;
   410	
   411		return 0;
   412	}
   413	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76493 bytes --]

                 reply	other threads:[~2021-02-24  4:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202102241226.IXdxdmos-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.