linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Cai Huoqing <caihuoqing@baidu.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Subject: [linux-next:master 802/3632] drivers/gpu/drm/tidss/tidss_drv.c:91:32: warning: unused variable 'tidss_pm_ops'
Date: Fri, 26 Nov 2021 14:02:57 +0800	[thread overview]
Message-ID: <202111261307.7r9SQ6bB-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f81e94e91878bded599cc60f2881cfd50991aeb9
commit: 6e120594631fdcfd83e5e0a1351730dae46d9d24 [802/3632] drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()
config: riscv-randconfig-r011-20211115 (https://download.01.org/0day-ci/archive/20211126/202111261307.7r9SQ6bB-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project fbe72e41b99dc7994daac300d208a955be3e4a0a)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6e120594631fdcfd83e5e0a1351730dae46d9d24
        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 6e120594631fdcfd83e5e0a1351730dae46d9d24
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv 

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/tidss/tidss_drv.c:91:32: warning: unused variable 'tidss_pm_ops' [-Wunused-const-variable]
   static const struct dev_pm_ops tidss_pm_ops = {
                                  ^
   1 warning generated.


vim +/tidss_pm_ops +91 drivers/gpu/drm/tidss/tidss_drv.c

32a1795f57eecc3 Jyri Sarha  2019-11-08  90  
32a1795f57eecc3 Jyri Sarha  2019-11-08 @91  static const struct dev_pm_ops tidss_pm_ops = {
32a1795f57eecc3 Jyri Sarha  2019-11-08  92  	SET_SYSTEM_SLEEP_PM_OPS(tidss_suspend, tidss_resume)
6e120594631fdcf Cai Huoqing 2021-09-07  93  	SET_RUNTIME_PM_OPS(tidss_pm_runtime_suspend, tidss_pm_runtime_resume, NULL)
32a1795f57eecc3 Jyri Sarha  2019-11-08  94  };
32a1795f57eecc3 Jyri Sarha  2019-11-08  95  

:::::: The code at line 91 was first introduced by commit
:::::: 32a1795f57eecc3974901760400618571c9d357f drm/tidss: New driver for TI Keystone platform Display SubSystem

:::::: TO: Jyri Sarha <jsarha@ti.com>
:::::: CC: Jyri Sarha <jsarha@ti.com>

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


                 reply	other threads:[~2021-11-26  6:03 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=202111261307.7r9SQ6bB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=caihuoqing@baidu.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=tomi.valkeinen@ideasonboard.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