mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	tipbuild@zytor.com, Thomas Gleixner <tglx@linutronix.de>
Subject: [tip:timers/core 3/3] kernel/time/tick-broadcast.c:155:13: warning: 'tick_broadcast_setup_oneshot' used but never defined
Date: Sat, 18 Mar 2017 01:38:53 +0800	[thread overview]
Message-ID: <201703180149.moAGX6B8%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
head:   f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7
commit: f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7 [3/3] tick/broadcast: Make tick_broadcast_setup_oneshot() static
config: x86_64-randconfig-x012-201711 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> kernel/time/tick-broadcast.c:155:13: warning: 'tick_broadcast_setup_oneshot' used but never defined
    static void tick_broadcast_setup_oneshot(struct clock_event_device *bc);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/tick_broadcast_setup_oneshot +155 kernel/time/tick-broadcast.c

   139	static void err_broadcast(const struct cpumask *mask)
   140	{
   141		pr_crit_once("Failed to broadcast timer tick. Some CPUs may be unresponsive.\n");
   142	}
   143	
   144	static void tick_device_setup_broadcast_func(struct clock_event_device *dev)
   145	{
   146		if (!dev->broadcast)
   147			dev->broadcast = tick_broadcast;
   148		if (!dev->broadcast) {
   149			pr_warn_once("%s depends on broadcast, but no broadcast function available\n",
   150				     dev->name);
   151			dev->broadcast = err_broadcast;
   152		}
   153	}
   154	
 > 155	static void tick_broadcast_setup_oneshot(struct clock_event_device *bc);
   156	
   157	/*
   158	 * Check, if the device is disfunctional and a place holder, which
   159	 * needs to be handled by the broadcast device.
   160	 */
   161	int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
   162	{
   163		struct clock_event_device *bc = tick_broadcast_device.evtdev;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

                 reply	other threads:[~2017-03-17 17:40 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=201703180149.moAGX6B8%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=tglx@linutronix.de \
    --cc=tipbuild@zytor.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®