public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Trevor Wu <trevor.wu@mediatek.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: [asoc:for-5.15 14040/14051] sound/soc/mediatek/mt8195/mt8195-afe-pcm.c:3260:32: warning: unused variable 'mt8195_afe_pm_ops'
Date: Thu, 26 Aug 2021 18:17:07 +0800	[thread overview]
Message-ID: <202108261856.C2P8FRss-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.15
head:   a8946f032eeace6eeb4e51e518275010e5528660
commit: 6746cc858259985a945a07075a19ec4d24352407 [14040/14051] ASoC: mediatek: mt8195: add platform driver
config: hexagon-buildonly-randconfig-r006-20210826 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83)
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/broonie/sound.git/commit/?id=6746cc858259985a945a07075a19ec4d24352407
        git remote add asoc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
        git fetch --no-tags asoc for-5.15
        git checkout 6746cc858259985a945a07075a19ec4d24352407
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

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 >>):

>> sound/soc/mediatek/mt8195/mt8195-afe-pcm.c:3260:32: warning: unused variable 'mt8195_afe_pm_ops' [-Wunused-const-variable]
   static const struct dev_pm_ops mt8195_afe_pm_ops = {
                                  ^
   1 warning generated.


vim +/mt8195_afe_pm_ops +3260 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c

  3259	
> 3260	static const struct dev_pm_ops mt8195_afe_pm_ops = {
  3261		SET_RUNTIME_PM_OPS(mt8195_afe_runtime_suspend,
  3262				   mt8195_afe_runtime_resume, NULL)
  3263	};
  3264	

---
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: 31126 bytes --]

                 reply	other threads:[~2021-08-26 10:17 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=202108261856.C2P8FRss-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=trevor.wu@mediatek.com \
    /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