From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50B1FC433F5 for ; Fri, 26 Nov 2021 06:03:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6B7456B0075; Fri, 26 Nov 2021 01:03:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 667C96B0078; Fri, 26 Nov 2021 01:03:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5563C6B007B; Fri, 26 Nov 2021 01:03:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0182.hostedemail.com [216.40.44.182]) by kanga.kvack.org (Postfix) with ESMTP id 442326B0075 for ; Fri, 26 Nov 2021 01:03:29 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 01EFA8CA35 for ; Fri, 26 Nov 2021 06:03:19 +0000 (UTC) X-FDA: 78850038834.07.F908A41 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf09.hostedemail.com (Postfix) with ESMTP id 25D7F3000115 for ; Fri, 26 Nov 2021 06:03:13 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10179"; a="235855750" X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="235855750" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 22:03:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="741453764" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 25 Nov 2021 22:03:14 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mqUKI-0007b1-7L; Fri, 26 Nov 2021 06:03:14 +0000 Date: Fri, 26 Nov 2021 14:02:57 +0800 From: kernel test robot To: Cai Huoqing Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Tomi Valkeinen Subject: [linux-next:master 802/3632] drivers/gpu/drm/tidss/tidss_drv.c:91:32: warning: unused variable 'tidss_pm_ops' Message-ID: <202111261307.7r9SQ6bB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 25D7F3000115 X-Stat-Signature: h53xw18yo1osbiegs6mpph1bkuhu78uu Authentication-Results: imf09.hostedemail.com; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none); spf=none (imf09.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.115) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam02 X-HE-Tag: 1637906593-106135 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 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 :::::: CC: Jyri Sarha --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org