mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Romain Perier <romain.perier@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [chenxing:rperier-timer 15/15] drivers/clocksource/timer-msc313e.c:93:24: error: 'msc313_tick' defined but not used
Date: Fri, 1 Oct 2021 07:01:43 +0800	[thread overview]
Message-ID: <202110010736.cZMOLYsV-lkp@intel.com> (raw)

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

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@intel.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@0x0f.com>
:::::: CC: Romain Perier <romain.perier@gmail.com>

---
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: 60777 bytes --]

                 reply	other threads:[~2021-09-30 23:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110010736.cZMOLYsV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=romain.perier@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®