Re: [PATCH 09/11] drm/vc4: hdmi: Register HDMI codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maxime,

I love your patch! Perhaps something to improve:

[auto build test WARNING on sound/for-next]
[also build test WARNING on asoc/for-next v5.12 next-20210507]
[cannot apply to anholt/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Maxime-Ripard/drm-vc4-hdmi-Enable-Channel-Mapping-IEC958-HBR-Passthrough-using-hdmi-codec/20210507-220646
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: arm-randconfig-r025-20210506 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/d13a5df3b724ff8c7e1a4a6a76e9903c26650674
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-hdmi-Enable-Channel-Mapping-IEC958-HBR-Passthrough-using-hdmi-codec/20210507-220646
        git checkout d13a5df3b724ff8c7e1a4a6a76e9903c26650674
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

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:1240: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 +1240 drivers/gpu/drm/vc4/vc4_hdmi.c

bb7d78568814a3 Eric Anholt       2017-02-27  1239  
635b1c185ee9ca Kuninori Morimoto 2018-01-29 @1240  static const struct snd_soc_component_driver vc4_hdmi_audio_component_drv = {
a3a0ded3ed38f4 Maxime Ripard     2020-07-08  1241  	.name			= "vc4-hdmi-codec-dai-component",
bb7d78568814a3 Eric Anholt       2017-02-27  1242  	.dapm_widgets		= vc4_hdmi_audio_widgets,
bb7d78568814a3 Eric Anholt       2017-02-27  1243  	.num_dapm_widgets	= ARRAY_SIZE(vc4_hdmi_audio_widgets),
bb7d78568814a3 Eric Anholt       2017-02-27  1244  	.dapm_routes		= vc4_hdmi_audio_routes,
bb7d78568814a3 Eric Anholt       2017-02-27  1245  	.num_dapm_routes	= ARRAY_SIZE(vc4_hdmi_audio_routes),
635b1c185ee9ca Kuninori Morimoto 2018-01-29  1246  	.idle_bias_on		= 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29  1247  	.use_pmdown_time	= 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29  1248  	.endianness		= 1,
635b1c185ee9ca Kuninori Morimoto 2018-01-29  1249  	.non_legacy_dai_naming	= 1,
bb7d78568814a3 Eric Anholt       2017-02-27  1250  };
bb7d78568814a3 Eric Anholt       2017-02-27  1251  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux