Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2026-06-16 326/326] sound/soc/codecs/rt5651.c:2113:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_sync'; ISO C99 and later do not support implicit function declarations
Date: Wed, 17 Jun 2026 15:49:27 +0800	[thread overview]
Message-ID: <202606171508.QhBoQeZg-lkp@intel.com> (raw)

tree:   https://github.com/morimoto/linux sound-cleanup-2026-06-16
head:   5ce50ac7d0a59c6fb15e1baa7e6824ac096fe092
commit: 4bbdf4f7c937878b634b01d362515e2a79053b52 [326/326] dai
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20260617/202606171508.QhBoQeZg-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e19d1f51a2c80b63cd8ca95bcc757b7077112808)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260617/202606171508.QhBoQeZg-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/202606171508.QhBoQeZg-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from sound/soc/codecs/rt5651.c:14:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:27:
   In file included from include/linux/kernel_stat.h:8:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from arch/um/include/asm/hardirq.h:24:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
>> sound/soc/codecs/rt5651.c:2113:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_sync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    2113 |         snd_soc_component_regmap_regcache_sync(component);
         |         ^
   sound/soc/codecs/rt5651.c:2113:2: note: did you mean 'snd_soc_component_regcache_sync'?
   include/sound/soc-component.h:497:19: note: 'snd_soc_component_regcache_sync' declared here
     497 | static inline int snd_soc_component_regcache_sync(struct snd_soc_component *component)
         |                   ^
   1 warning and 1 error generated.
--
   In file included from sound/soc/codecs/wm8741.c:15:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:27:
   In file included from include/linux/kernel_stat.h:8:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from arch/um/include/asm/hardirq.h:24:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
>> sound/soc/codecs/wm8741.c:425:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_sync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     425 |         snd_soc_component_regmap_regcache_sync(component);
         |         ^
   sound/soc/codecs/wm8741.c:425:2: note: did you mean 'snd_soc_component_regcache_sync'?
   include/sound/soc-component.h:497:19: note: 'snd_soc_component_regcache_sync' declared here
     497 | static inline int snd_soc_component_regcache_sync(struct snd_soc_component *component)
         |                   ^
   1 warning and 1 error generated.
--
   In file included from sound/soc/codecs/wm8961.c:18:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:27:
   In file included from include/linux/kernel_stat.h:8:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from arch/um/include/asm/hardirq.h:24:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
>> sound/soc/codecs/wm8961.c:897:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_sync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     897 |         snd_soc_component_regmap_regcache_sync(component);
         |         ^
   sound/soc/codecs/wm8961.c:897:2: note: did you mean 'snd_soc_component_regcache_sync'?
   include/sound/soc-component.h:497:19: note: 'snd_soc_component_regcache_sync' declared here
     497 | static inline int snd_soc_component_regcache_sync(struct snd_soc_component *component)
         |                   ^
   1 warning and 1 error generated.
--
   In file included from sound/soc/codecs/wm9705.c:14:
   In file included from include/linux/regmap.h:18:
   In file included from include/linux/iopoll.h:14:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
>> sound/soc/codecs/wm9705.c:290:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_cache_bypass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     290 |         snd_soc_component_regmap_regcache_cache_bypass(component, true);
         |         ^
   sound/soc/codecs/wm9705.c:290:2: note: did you mean 'snd_soc_component_regcache_cache_bypass'?
   include/sound/soc-component.h:543:20: note: 'snd_soc_component_regcache_cache_bypass' declared here
     543 | static inline void snd_soc_component_regcache_cache_bypass(struct snd_soc_component *component, bool enable)
         |                    ^
>> sound/soc/codecs/wm9705.c:308:2: error: call to undeclared function 'snd_soc_component_regmap_regcache_sync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     308 |         snd_soc_component_regmap_regcache_sync(component);
         |         ^
   sound/soc/codecs/wm9705.c:308:2: note: did you mean 'snd_soc_component_regcache_sync'?
   include/sound/soc-component.h:497:19: note: 'snd_soc_component_regcache_sync' declared here
     497 | static inline int snd_soc_component_regcache_sync(struct snd_soc_component *component)
         |                   ^
   1 warning and 2 errors generated.


vim +/snd_soc_component_regmap_regcache_sync +2113 sound/soc/codecs/rt5651.c

  2106	
  2107	static int rt5651_resume(struct snd_soc_component *component)
  2108	{
  2109		struct device *dev = snd_soc_component_to_dev(component);
  2110		struct rt5651_priv *rt5651 = dev_get_drvdata(dev);
  2111	
  2112		regcache_cache_only(rt5651->regmap, false);
> 2113		snd_soc_component_regmap_regcache_sync(component);
  2114	
  2115		return 0;
  2116	}
  2117	#else
  2118	#define rt5651_suspend NULL
  2119	#define rt5651_resume NULL
  2120	#endif
  2121	

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

                 reply	other threads:[~2026-06-17  7:50 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=202606171508.QhBoQeZg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox