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:   Sun, 16 Aug 2020 21:05:11 +0800
From:   kernel test robot <lkp@...el.com>
To:     Benjamin Gaignard <benjamin.gaignard@...aro.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>,
        Pascal Paillet <p.paillet@...com>
Subject: drivers/clocksource/timer-stm32-lp.c:203:34: warning: unused
 variable 'stm32_clkevent_lp_of_match'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4b6c093e21d36bede0fd88fd0aeb3b03647260e4
commit: 48b41c5e2de6c52c90efa99cfa122a5da7a7f0cd clocksource: Add Low Power STM32 timers driver
date:   8 weeks ago
config: x86_64-randconfig-r034-20200816 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ab9fc8bae805c785066779e76e7846aabad5609e)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 48b41c5e2de6c52c90efa99cfa122a5da7a7f0cd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> drivers/clocksource/timer-stm32-lp.c:203:34: warning: unused variable 'stm32_clkevent_lp_of_match' [-Wunused-const-variable]
   static const struct of_device_id stm32_clkevent_lp_of_match[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48b41c5e2de6c52c90efa99cfa122a5da7a7f0cd
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 48b41c5e2de6c52c90efa99cfa122a5da7a7f0cd
vim +/stm32_clkevent_lp_of_match +203 drivers/clocksource/timer-stm32-lp.c

   202	
 > 203	static const struct of_device_id stm32_clkevent_lp_of_match[] = {
   204		{ .compatible = "st,stm32-lptimer-timer", },
   205		{},
   206	};
   207	MODULE_DEVICE_TABLE(of, stm32_clkevent_lp_of_match);
   208	

---
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" (37656 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ