tree:
git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: 91e99e11392937546a94110b14bc155f9cbad0eb
commit: 91e99e11392937546a94110b14bc155f9cbad0eb [9/9] drm/vc4: hdmi: Register HDMI codec
config: x86_64-randconfig-a002-20210622 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
b259740801d3515810ecc15bf0c24b0d476a1608)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add drm-drm-misc
git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-drm-misc drm-misc-next
git checkout 91e99e11392937546a94110b14bc155f9cbad0eb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/gpu/drm/vc4/vc4_hdmi.c:1407:46: warning: unused variable
'vc4_hdmi_audio_component_drv' [-Wunused-const-variable]
static const
struct snd_soc_component_driver vc4_hdmi_audio_component_drv = {
^
1 warning generated.
vim +/vc4_hdmi_audio_component_drv +1407 drivers/gpu/drm/vc4/vc4_hdmi.c
bb7d78568814a3 Eric Anholt 2017-02-27 1406
635b1c185ee9ca Kuninori Morimoto 2018-01-29 @1407 static const struct
snd_soc_component_driver vc4_hdmi_audio_component_drv = {
a3a0ded3ed38f4 Maxime Ripard 2020-07-08 1408 .name =
"vc4-hdmi-codec-dai-component",
bb7d78568814a3 Eric Anholt 2017-02-27 1409 .dapm_widgets =
vc4_hdmi_audio_widgets,
bb7d78568814a3 Eric Anholt 2017-02-27 1410 .num_dapm_widgets =
ARRAY_SIZE(vc4_hdmi_audio_widgets),
bb7d78568814a3 Eric Anholt 2017-02-27 1411 .dapm_routes =
vc4_hdmi_audio_routes,
bb7d78568814a3 Eric Anholt 2017-02-27 1412 .num_dapm_routes =
ARRAY_SIZE(vc4_hdmi_audio_routes),
635b1c185ee9ca Kuninori Morimoto 2018-01-29 1413 .idle_bias_on = 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29 1414 .use_pmdown_time = 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29 1415 .endianness = 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29 1416 .non_legacy_dai_naming = 1,
bb7d78568814a3 Eric Anholt 2017-02-27 1417 };
bb7d78568814a3 Eric Anholt 2017-02-27 1418
:::::: The code at line 1407 was first introduced by commit
:::::: 635b1c185ee9cae61a740264d09095a7d20c019a ASoC: vc4_hdmi: replace codec to
component
:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org