lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111131007.HojtZaoY-lkp@intel.com>
Date:   Sat, 13 Nov 2021 10:22:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Cai Huoqing <caihuoqing@...du.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Tomi Valkeinen <tomi.valkeinen@...asonboard.com>
Subject: [drm-misc:drm-misc-next 5/5]
 drivers/gpu/drm/tidss/tidss_drv.c:91:32: error: 'tidss_pm_ops' defined but
 not used

tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   6e120594631fdcfd83e5e0a1351730dae46d9d24
commit: 6e120594631fdcfd83e5e0a1351730dae46d9d24 [5/5] drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
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
        git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
        git fetch --no-tags drm-misc drm-misc-next
        git checkout 6e120594631fdcfd83e5e0a1351730dae46d9d24
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tidss/tidss_drv.c:91:32: error: 'tidss_pm_ops' defined but not used [-Werror=unused-const-variable=]
      91 | static const struct dev_pm_ops tidss_pm_ops = {
         |                                ^~~~~~~~~~~~
   cc1: all warnings being treated as errors


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

32a1795f57eecc Jyri Sarha  2019-11-08  90  
32a1795f57eecc Jyri Sarha  2019-11-08 @91  static const struct dev_pm_ops tidss_pm_ops = {
32a1795f57eecc Jyri Sarha  2019-11-08  92  	SET_SYSTEM_SLEEP_PM_OPS(tidss_suspend, tidss_resume)
6e120594631fdc Cai Huoqing 2021-09-07  93  	SET_RUNTIME_PM_OPS(tidss_pm_runtime_suspend, tidss_pm_runtime_resume, NULL)
32a1795f57eecc Jyri Sarha  2019-11-08  94  };
32a1795f57eecc 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@...com>
:::::: CC: Jyri Sarha <jsarha@...com>

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

Download attachment ".config.gz" of type "application/gzip" (61476 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ