tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2f73937c9aa561e2082839bc1a8efaac75d6e244 commit: c7d30623540b6e979d7e8647fab18feab4688808 [3748/5318] drm/vc4: hdmi: Remove unused struct config: x86_64-buildonly-randconfig-r001-20210804 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c7d30623540b6e979d7e8647fab18feab4688808 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c7d30623540b6e979d7e8647fab18feab4688808 # 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@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/vc4/vc4_hdmi.c:1406:41: warning: unused variable 'vc4_hdmi_audio_widgets' [-Wunused-const-variable] static const struct snd_soc_dapm_widget vc4_hdmi_audio_widgets[] = { ^ >> drivers/gpu/drm/vc4/vc4_hdmi.c:1410:40: warning: unused variable 'vc4_hdmi_audio_routes' [-Wunused-const-variable] static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = { ^ 2 warnings generated. vim +/vc4_hdmi_audio_widgets +1406 drivers/gpu/drm/vc4/vc4_hdmi.c bb7d78568814a31 Eric Anholt 2017-02-27 1405 bb7d78568814a31 Eric Anholt 2017-02-27 @1406 static const struct snd_soc_dapm_widget vc4_hdmi_audio_widgets[] = { bb7d78568814a31 Eric Anholt 2017-02-27 1407 SND_SOC_DAPM_OUTPUT("TX"), bb7d78568814a31 Eric Anholt 2017-02-27 1408 }; bb7d78568814a31 Eric Anholt 2017-02-27 1409 bb7d78568814a31 Eric Anholt 2017-02-27 @1410 static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = { bb7d78568814a31 Eric Anholt 2017-02-27 1411 { "TX", NULL, "Playback" }, bb7d78568814a31 Eric Anholt 2017-02-27 1412 }; bb7d78568814a31 Eric Anholt 2017-02-27 1413 :::::: The code at line 1406 was first introduced by commit :::::: bb7d78568814a31a11fa14f1479a9fe51f1582ad drm/vc4: Add HDMI audio support :::::: TO: Eric Anholt <eric@xxxxxxxxxx> :::::: CC: Eric Anholt <eric@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip