mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/clocksource/timer-stm32-lp.c:203:34: warning: unused variable 'stm32_clkevent_lp_of_match'
@ 2020-08-16 13:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-16 13:05 UTC (permalink / raw)
  To: Benjamin Gaignard
  Cc: kbuild-all, clang-built-linux, linux-kernel, Lee Jones, Pascal Paillet

[-- Attachment #1: Type: text/plain, Size: 2027 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37656 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-16 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 13:05 drivers/clocksource/timer-stm32-lp.c:203:34: warning: unused variable 'stm32_clkevent_lp_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®