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:   Fri, 1 Oct 2021 07:01:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Romain Perier <romain.perier@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [chenxing:rperier-timer 15/15]
 drivers/clocksource/timer-msc313e.c:93:24: error: 'msc313_tick' defined but
 not used

tree:   git://github.com/linux-chenxing/linux.git rperier-timer
head:   3a25230fb0598ae7a83bdc60f46042019d65a820
commit: 3a25230fb0598ae7a83bdc60f46042019d65a820 [15/15] changes WIP
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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
        # https://github.com/linux-chenxing/linux/commit/3a25230fb0598ae7a83bdc60f46042019d65a820
        git remote add chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags chenxing rperier-timer
        git checkout 3a25230fb0598ae7a83bdc60f46042019d65a820
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2 

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/clocksource/timer-msc313e.c:93:24: error: 'msc313_tick' defined but not used [-Werror=unused-variable]
      93 | static struct timer_of msc313_tick = {
         |                        ^~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/msc313_tick +93 drivers/clocksource/timer-msc313e.c

3bd98874f70cd0 Daniel Palmer 2020-06-12   92  
3bd98874f70cd0 Daniel Palmer 2020-06-12  @93  static struct timer_of msc313_tick = {
3bd98874f70cd0 Daniel Palmer 2020-06-12   94  	.flags = TIMER_OF_IRQ | TIMER_OF_CLOCK | TIMER_OF_BASE,
3bd98874f70cd0 Daniel Palmer 2020-06-12   95  
3bd98874f70cd0 Daniel Palmer 2020-06-12   96  	.clkevt = {
3bd98874f70cd0 Daniel Palmer 2020-06-12   97  		.name = "msc313_tick",
3bd98874f70cd0 Daniel Palmer 2020-06-12   98  		.rating = 350,
3bd98874f70cd0 Daniel Palmer 2020-06-12   99  		.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT,
3bd98874f70cd0 Daniel Palmer 2020-06-12  100  		.set_state_shutdown = msc313e_timer_clkevt_shutdown,
3bd98874f70cd0 Daniel Palmer 2020-06-12  101  		.set_state_periodic = msc313e_timer_set_periodic,
3bd98874f70cd0 Daniel Palmer 2020-06-12  102  		.set_state_oneshot = msc313e_timer_clkevt_set_oneshot,
3bd98874f70cd0 Daniel Palmer 2020-06-12  103  		.tick_resume = msc313e_timer_clkevt_shutdown,
3bd98874f70cd0 Daniel Palmer 2020-06-12  104  		.set_next_event = msc313e_timer_clkevt_next_event,
3bd98874f70cd0 Daniel Palmer 2020-06-12  105  		.cpumask = cpu_possible_mask,
3bd98874f70cd0 Daniel Palmer 2020-06-12  106  	},
3bd98874f70cd0 Daniel Palmer 2020-06-12  107  
3bd98874f70cd0 Daniel Palmer 2020-06-12  108  	.of_irq = {
3bd98874f70cd0 Daniel Palmer 2020-06-12  109  		.handler = msc313e_timer_clkevt_irq,
3bd98874f70cd0 Daniel Palmer 2020-06-12  110  		.flags = IRQF_TIMER | IRQF_IRQPOLL,
3bd98874f70cd0 Daniel Palmer 2020-06-12  111  	},
3bd98874f70cd0 Daniel Palmer 2020-06-12  112  };
3bd98874f70cd0 Daniel Palmer 2020-06-12  113  

:::::: The code at line 93 was first introduced by commit
:::::: 3bd98874f70cd03fb14c321a99ea5af57fecfc71 MSC313E: Skeleton timer driver

:::::: TO: Daniel Palmer <daniel@...f.com>
:::::: CC: Romain Perier <romain.perier@...il.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" (60777 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ