From: kernel test robot <lkp@intel.com>
To: Maxime Ripard <maxime@cerno.tech>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Dave Stevenson <dave.stevenson@raspberrypi.com>
Subject: [linux-next:master 3748/5318] drivers/gpu/drm/vc4/vc4_hdmi.c:1406:41: warning: unused variable 'vc4_hdmi_audio_widgets'
Date: Thu, 5 Aug 2021 05:40:12 +0800 [thread overview]
Message-ID: <202108050501.LwX1o6Sq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2729 bytes --]
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@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
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@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: 47310 bytes --]
reply other threads:[~2021-08-04 21:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108050501.LwX1o6Sq-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=maxime@cerno.tech \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).