All of lore.kernel.org
 help / color / mirror / Atom feed
* [plbossart-sound:old/rewind-spib 4/4] sound/soc/intel/skylake/skl-pcm.c:1506:19: warning: initialized field overwritten
@ 2021-02-24  2:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-24  2:26 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4326 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 warnings (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 +1506 sound/soc/intel/skylake/skl-pcm.c

2e05ddd2c9f80007 Ranjani Sridharan 2019-04-04  1497  
56b03b4c4f5e8e1a Kuninori Morimoto 2018-01-29  1498  static const struct snd_soc_component_driver skl_component  = {
56b03b4c4f5e8e1a Kuninori Morimoto 2018-01-29  1499  	.name		= "pcm",
b663a8c5c9c043c4 Jeeja KP          2015-10-07  1500  	.probe		= skl_platform_soc_probe,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1501  	.remove		= skl_platform_soc_remove,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1502  	.open		= skl_platform_soc_open,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1503  	.trigger	= skl_platform_soc_trigger,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1504  	.pointer	= skl_platform_soc_pointer,
b42e9a7299897f51 Ramesh Babu       2016-05-23  1505  	.ack		= skl_platform_soc_ack,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02 @1506  	.get_time_info	= skl_platform_soc_get_time_info,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1507  	.mmap		= skl_platform_soc_mmap,
3507bb5fe46d12f5 Kuninori Morimoto 2019-10-02  1508  	.pcm_construct	= skl_platform_soc_new,
b4ed6b51f356224c Ranjani Sridharan 2019-04-05  1509  	.module_get_upon_open = 1, /* increment refcount when a pcm is opened */
a40e693c7f5ee3a1 Jeeja KP          2015-07-09  1510  };
a40e693c7f5ee3a1 Jeeja KP          2015-07-09  1511  

:::::: The code at line 1506 was first introduced by commit
:::::: 3507bb5fe46d12f517b68ea612159376c7ccce09 ASoC: intel: skl-pcm: remove snd_pcm_ops

:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
:::::: CC: Mark Brown <broonie@kernel.org>

---
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 --]

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

only message in thread, other threads:[~2021-02-24  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24  2:26 [plbossart-sound:old/rewind-spib 4/4] sound/soc/intel/skylake/skl-pcm.c:1506:19: warning: initialized field overwritten 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.