tree:
https://github.com/intel/linux-intel-lts.git 4.19/android_q
head: 6309eeef149f469839ecdd2e5a6dc433c368cf55
commit: c097da3ba72ef8284568d3909582d38755dbcada [1/2] ASoC: Intel: Skylake: remove
fmt_idx and res_idx from mconfig
config: i386-randconfig-s002-20210209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
#
https://github.com/intel/linux-intel-lts/commit/c097da3ba72ef8284568d3909...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_q
git checkout c097da3ba72ef8284568d3909582d38755dbcada
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/intel/skylake/skl-messages.c:1173:26: sparse: sparse: symbol
'cnl_sdw_bra_ops' was not declared. Should it be static?
sound/soc/intel/skylake/skl-messages.c: note: in included file:
sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-messages.c: In function 'skl_bind_modules':
sound/soc/intel/skylake/skl-messages.c:2474:21: warning: variable 'module' set
but not used [-Wunused-but-set-variable]
2474 | struct skl_module *module;
| ^~~~~~
In file included from sound/soc/intel/skylake/skl-messages.c:32:
sound/soc/intel/skylake/skl-messages.c: In function
'skl_get_module_param_size':
> sound/soc/intel/skylake/skl-topology.h:669:3: error: inlining
failed in call to always_inline 'skl_get_module_iface': function body not
available
669 | *skl_get_module_iface(struct skl_module_cfg *mconfig);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/intel/skylake/skl-messages.c:1934:35: note: called from here
1934 | struct skl_module_iface *iface = skl_get_module_iface(mconfig);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
sound/soc/intel/skylake/skl-messages.c: In function 'skl_bind_modules':
sound/soc/intel/skylake/skl-messages.c:2474:21: warning: variable 'module' set
but not used [-Wunused-but-set-variable]
2474 | struct skl_module *module;
| ^~~~~~
In file included from sound/soc/intel/skylake/skl-messages.c:32:
sound/soc/intel/skylake/skl-messages.c: In function
'skl_get_module_param_size':
> sound/soc/intel/skylake/skl-topology.h:669:3: error: inlining
failed in call to always_inline 'skl_get_module_iface': function body not
available
669 | *skl_get_module_iface(struct skl_module_cfg *mconfig);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/intel/skylake/skl-messages.c:1934:35: note: called from here
1934 | struct skl_module_iface *iface = skl_get_module_iface(mconfig);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"sparse warnings: (new ones prefixed by >>)"
sound/soc/intel/skylake/skl-messages.c:1173:26: sparse: sparse: symbol
'cnl_sdw_bra_ops' was not declared. Should it be static?
sound/soc/intel/skylake/skl-messages.c: note: in included file:
> sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse:
marked inline, but without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but without
a definition
> sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse:
marked inline, but without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but without
a definition
> sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse:
marked inline, but without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but without
a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
> sound/soc/intel/skylake/skl-topology.h:671:28: sparse: sparse:
marked inline, but without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but without
a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-topology.h:669:30: sparse: sparse: marked inline, but
without a definition
sound/soc/intel/skylake/skl-messages.c: In function 'skl_bind_modules':
sound/soc/intel/skylake/skl-messages.c:2474:21: warning: variable 'module' set
but not used [-Wunused-but-set-variable]
2474 | struct skl_module *module;
| ^~~~~~
In file included from sound/soc/intel/skylake/skl-messages.c:32:
sound/soc/intel/skylake/skl-messages.c: In function
'skl_get_module_param_size':
sound/soc/intel/skylake/skl-topology.h:669:3: error: inlining failed in call to
always_inline 'skl_get_module_iface': function body not available
669 | *skl_get_module_iface(struct skl_module_cfg *mconfig);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/intel/skylake/skl-messages.c:1934:35: note: called from here
1934 | struct skl_module_iface *iface = skl_get_module_iface(mconfig);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/skl_get_module_iface +669 sound/soc/intel/skylake/skl-topology.h
609
610 int skl_probe_get_index(struct snd_soc_dai *dai,
611 struct skl_probe_config *pconfig);
612
613 int skl_probe_attach_inj_dma(struct snd_soc_dapm_widget *w,
614 struct skl_sst *ctx, int index);
615 int skl_probe_detach_inj_dma(struct skl_sst *ctx,
616 struct snd_soc_dapm_widget *w, int index);
617 int skl_probe_point_set_config(struct snd_soc_dapm_widget *w,
618 struct skl_sst *ctx, int direction,
619 struct snd_soc_dai *dai);
620 int skl_tplg_set_module_params(struct snd_soc_dapm_widget *w,
621 struct skl_sst *ctx);
622
623 int skl_bind_modules(struct skl_sst *ctx, struct skl_module_cfg
624 *src_module, struct skl_module_cfg *dst_module);
625
626 int skl_unbind_modules(struct skl_sst *ctx, struct skl_module_cfg
627 *src_module, struct skl_module_cfg *dst_module);
628 int skl_probe_point_disconnect_ext(struct skl_sst *ctx,
629 struct snd_soc_dapm_widget *w);
630 int skl_probe_point_disconnect_inj(struct skl_sst *ctx,
631 struct snd_soc_dapm_widget *w, int index);
632 int skl_set_module_params(struct skl_sst *ctx, u32 *params, int size,
633 u32 param_id, struct skl_module_cfg *mcfg);
634 int skl_get_module_params(struct skl_sst *ctx, u32 *params, int size,
635 u32 param_id, struct skl_module_cfg *mcfg);
636
637 struct skl_module_cfg *skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai,
638 int stream);
639
640 int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w,
641 struct device *dev);
642 enum skl_bitdepth skl_get_bit_depth(int params);
643 int skl_pcm_host_dma_prepare(struct device *dev,
644 struct skl_pipe_params *params);
645 int skl_pcm_link_dma_prepare(struct device *dev,
646 struct skl_pipe_params *params);
647
648 int skl_dai_load(struct snd_soc_component *cmp, int index,
649 struct snd_soc_dai_driver *dai_drv,
650 struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai);
651 void skl_tplg_add_moduleid_in_bind_params(struct skl *skl,
652 struct snd_soc_dapm_widget *w);
653 int skl_tplg_dsp_log_get(struct snd_kcontrol *kcontrol,
654 struct snd_ctl_elem_value *ucontrol);
655 int skl_tplg_dsp_log_set(struct snd_kcontrol *kcontrol,
656 struct snd_ctl_elem_value *ucontrol);
657
658 int skl_tplg_change_notification_get(struct snd_kcontrol *kcontrol,
659 unsigned int __user *data, unsigned int size);
660 struct snd_kcontrol *skl_search_notify_kctl(struct skl_sst *skl,
661 u32 notify_id);
662 int skl_create_notify_kctl_list(struct skl_sst *skl_sst,
663 struct snd_card *card);
664 void skl_delete_notify_kctl_list(struct skl_sst *skl_sst);
665 struct snd_kcontrol *skl_get_notify_kcontrol(struct skl_sst *skl,
666 struct snd_card *card, u32 notify_id);
667 void skl_tplg_fw_cfg_set(struct skl *skl);
668 inline struct skl_module_iface
669 *skl_get_module_iface(struct skl_module_cfg *mconfig);
670 inline struct skl_module_res
671 *skl_get_module_res(struct skl_module_cfg *mconfig);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org