All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 3690/8423] drivers/gpu/drm/vc4/vc4_hdmi.c:1406:41: warning: unused variable 'vc4_hdmi_audio_widgets'
@ 2021-08-16  8:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-16  8:50 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: clang-built-linux, kbuild-all, Linux Memory Management List,
	Dave Stevenson

[-- Attachment #1: Type: text/plain, Size: 2873 bytes --]

Hi Maxime,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b9011c7e671dbbf59bb753283ddfd03f0c9eb865
commit: c7d30623540b6e979d7e8647fab18feab4688808 [3690/8423] drm/vc4: hdmi: Remove unused struct
config: arm64-randconfig-r012-20210814 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # 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=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

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

bb7d78568814a3 Eric Anholt 2017-02-27  1405  
bb7d78568814a3 Eric Anholt 2017-02-27 @1406  static const struct snd_soc_dapm_widget vc4_hdmi_audio_widgets[] = {
bb7d78568814a3 Eric Anholt 2017-02-27  1407  	SND_SOC_DAPM_OUTPUT("TX"),
bb7d78568814a3 Eric Anholt 2017-02-27  1408  };
bb7d78568814a3 Eric Anholt 2017-02-27  1409  
bb7d78568814a3 Eric Anholt 2017-02-27 @1410  static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = {
bb7d78568814a3 Eric Anholt 2017-02-27  1411  	{ "TX", NULL, "Playback" },
bb7d78568814a3 Eric Anholt 2017-02-27  1412  };
bb7d78568814a3 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@anholt.net>
:::::: CC: Eric Anholt <eric@anholt.net>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42393 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next:master 3690/8423] drivers/gpu/drm/vc4/vc4_hdmi.c:1406:41: warning: unused variable 'vc4_hdmi_audio_widgets'
@ 2021-08-16  8:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-16  8:50 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2931 bytes --]

Hi Maxime,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b9011c7e671dbbf59bb753283ddfd03f0c9eb865
commit: c7d30623540b6e979d7e8647fab18feab4688808 [3690/8423] drm/vc4: hdmi: Remove unused struct
config: arm64-randconfig-r012-20210814 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # 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=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

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

bb7d78568814a3 Eric Anholt 2017-02-27  1405  
bb7d78568814a3 Eric Anholt 2017-02-27 @1406  static const struct snd_soc_dapm_widget vc4_hdmi_audio_widgets[] = {
bb7d78568814a3 Eric Anholt 2017-02-27  1407  	SND_SOC_DAPM_OUTPUT("TX"),
bb7d78568814a3 Eric Anholt 2017-02-27  1408  };
bb7d78568814a3 Eric Anholt 2017-02-27  1409  
bb7d78568814a3 Eric Anholt 2017-02-27 @1410  static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = {
bb7d78568814a3 Eric Anholt 2017-02-27  1411  	{ "TX", NULL, "Playback" },
bb7d78568814a3 Eric Anholt 2017-02-27  1412  };
bb7d78568814a3 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@anholt.net>
:::::: CC: Eric Anholt <eric@anholt.net>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42393 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-16  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  8:50 [linux-next:master 3690/8423] drivers/gpu/drm/vc4/vc4_hdmi.c:1406:41: warning: unused variable 'vc4_hdmi_audio_widgets' kernel test robot
2021-08-16  8:50 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.