public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [morimoto:sound-cleanup-2026-03-27 61/106] sound/soc/soc-component.c:1684:39: error: no member named 'debugfs_prefix' in 'struct snd_soc_component_driver'
@ 2026-03-27 21:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-27 21:20 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/morimoto/linux sound-cleanup-2026-03-27
head:   b547ff73a13ed8ce92e8e208ccd27884077b160b
commit: 96ac5eb1c466226a2d0e2f1d8f681a46cbc97bc5 [61/106] ASoC: soc-component: add snd_soc_component_alloc()
config: hexagon-randconfig-002-20260328 (https://download.01.org/0day-ci/archive/20260328/202603280557.PX2kWAPU-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/202603280557.PX2kWAPU-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/202603280557.PX2kWAPU-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/soc-component.c:1684:39: error: no member named 'debugfs_prefix' in 'struct snd_soc_component_driver'
    1684 |                 component->debugfs_prefix = driver->debugfs_prefix;
         |                                             ~~~~~~  ^
   1 error generated.


vim +1684 sound/soc/soc-component.c

  1643	
  1644	struct snd_soc_component *snd_soc_component_alloc(struct device *dev,
  1645							  const struct snd_soc_component_driver *driver,
  1646							  struct regmap *regmap,
  1647							  const char *name,
  1648							  const char *name_prefix,
  1649							  const char *debugfs_prefix)
  1650	{
  1651		struct snd_soc_component *component;
  1652		struct snd_soc_dapm_context *dapm;
  1653	
  1654		component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL);
  1655		if (!component)
  1656			return NULL;
  1657	
  1658		dapm = snd_soc_dapm_alloc(dev);
  1659		if (!dapm)
  1660			return NULL;
  1661	
  1662		if (!name)
  1663			name = soc_fmt_single_name(dev, NULL);
  1664	
  1665		if (!name)
  1666			return NULL;
  1667	
  1668		INIT_LIST_HEAD(&component->dai_list);
  1669		INIT_LIST_HEAD(&component->dobj_list);
  1670		INIT_LIST_HEAD(&component->card_list);
  1671		INIT_LIST_HEAD(&component->list);
  1672		INIT_LIST_HEAD(&component->card_aux_list);
  1673		mutex_init(&component->io_mutex);
  1674	
  1675		component->name		= name;
  1676		component->name_prefix	= name_prefix;
  1677		component->dapm		= dapm;
  1678		component->regmap	= regmap;
  1679		component->dev		= dev;
  1680		component->driver	= driver;
  1681	
  1682		component->debugfs_prefix = debugfs_prefix;
  1683		if (!component->debugfs_prefix)
> 1684			component->debugfs_prefix = driver->debugfs_prefix;
  1685	
  1686		return component;
  1687	}
  1688	EXPORT_SYMBOL_GPL(snd_soc_component_alloc);
  1689	

-- 
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-03-27 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27 21:20 [morimoto:sound-cleanup-2026-03-27 61/106] sound/soc/soc-component.c:1684:39: error: no member named 'debugfs_prefix' in 'struct snd_soc_component_driver' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox