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]
Date:   Tue, 6 Dec 2022 23:05:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Stephen Boyd <sboyd@...nel.org>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
        Arnd Bergmann <arnd@...db.de>
Subject: drivers/gpu/drm/arm/display/komeda/komeda_dev.c:49:37: warning:
 unused variable 'komeda_register_fops'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bce9332220bd677d83b19d21502776ad555a0e73
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable
date:   2 years, 7 months ago
config: hexagon-randconfig-r032-20221206
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036)
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/torvalds/linux.git/commit/?id=bbd7ffdbef6888459f301c5889f3b14ada38b913
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/arm/display/komeda/

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:49:37: warning: unused variable 'komeda_register_fops' [-Wunused-const-variable]
   static const struct file_operations komeda_register_fops = {
                                       ^
   1 warning generated.


vim +/komeda_register_fops +49 drivers/gpu/drm/arm/display/komeda/komeda_dev.c

7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  48) 
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22 @49) static const struct file_operations komeda_register_fops = {
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  50) 	.owner		= THIS_MODULE,
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  51) 	.open		= komeda_register_open,
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  52) 	.read		= seq_read,
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  53) 	.llseek		= seq_lseek,
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  54) 	.release	= single_release,
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  55) };
7d3cfb70a604d2 james qian wang (Arm Technology China  2019-01-22  56) 

:::::: The code at line 49 was first introduced by commit
:::::: 7d3cfb70a604d215e195ba9282df42dd6edff16a drm/komeda: Add debugfs node "register" for register dump

:::::: TO: james qian wang (Arm Technology China) <james.qian.wang@....com>
:::::: CC: Liviu Dudau <Liviu.Dudau@....com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (99556 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ