Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [morimoto:sound-cleanup-2026-06-16 326/326] drivers/gpu/drm/vc4/vc4_hdmi.c:2232:3: error: field designator 'name' does not refer to any field in type 'const struct snd_soc_component_driver'
@ 2026-06-17 14:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-17 14:08 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/morimoto/linux sound-cleanup-2026-06-16
head:   5ce50ac7d0a59c6fb15e1baa7e6824ac096fe092
commit: 05b5b2a6efd5a6e54abc6f45325da66dd0680510 [326/326] ASoC: soc-component: remove compatible definition
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20260617/202606172108.BHkXTjAK-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/202606172108.BHkXTjAK-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/202606172108.BHkXTjAK-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/vc4/vc4_hdmi.c:39:
   In file included from include/drm/drm_atomic_helper.h:31:
   In file included from include/drm/drm_crtc.h:32:
   In file included from include/drm/drm_modes.h:33:
   In file included from include/drm/drm_connector.h:32:
   In file included from include/drm/drm_util.h:35:
   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;
         |                                                   ~~~~~~~~~~ ^
>> drivers/gpu/drm/vc4/vc4_hdmi.c:2232:3: error: field designator 'name' does not refer to any field in type 'const struct snd_soc_component_driver'
    2232 |         .name = "vc4-hdmi-cpu-dai-component",
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning and 1 error generated.


vim +2232 drivers/gpu/drm/vc4/vc4_hdmi.c

bb7d78568814a3 Eric Anholt    2017-02-27  2230  
bb7d78568814a3 Eric Anholt    2017-02-27  2231  static const struct snd_soc_component_driver vc4_hdmi_audio_cpu_dai_comp = {
bb7d78568814a3 Eric Anholt    2017-02-27 @2232  	.name = "vc4-hdmi-cpu-dai-component",
db827cb34ca38f Charles Keepax 2022-06-23  2233  	.legacy_dai_naming = 1,
bb7d78568814a3 Eric Anholt    2017-02-27  2234  };
bb7d78568814a3 Eric Anholt    2017-02-27  2235  

:::::: The code at line 2232 was first introduced by commit
:::::: bb7d78568814a31a11fa14f1479a9fe51f1582ad drm/vc4: Add HDMI audio support

:::::: TO: Eric Anholt <eric@anholt.net>
:::::: CC: Eric Anholt <eric@anholt.net>

--
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-06-17 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-17 14:08 [morimoto:sound-cleanup-2026-06-16 326/326] drivers/gpu/drm/vc4/vc4_hdmi.c:2232:3: error: field designator 'name' does not refer to any field in type 'const 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