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: <202212200238.Np8gJZtC-lkp@intel.com>
Date:   Tue, 20 Dec 2022 02:45:51 +0800
From:   kernel test robot <lkp@...el.com>
To:     Benjamin Gaignard <benjamin.gaignard@...aro.org>
Cc:     oe-kbuild-all@...ts.linux.dev, 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:
 'stm32_clkevent_lp_of_match' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aeba12b26c79fc35e07e511f692a8907037d95da
commit: 48b41c5e2de6c52c90efa99cfa122a5da7a7f0cd clocksource: Add Low Power STM32 timers driver
date:   2 years, 6 months ago
config: i386-buildonly-randconfig-r002-20221219
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # 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
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/clk/imx/ drivers/clocksource/ drivers/mmc/host/

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/clocksource/timer-stm32-lp.c:203:34: warning: 'stm32_clkevent_lp_of_match' defined but not used [-Wunused-const-variable=]
     203 | static const struct of_device_id stm32_clkevent_lp_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~


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
https://01.org/lkp

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ