From: Chris Metcalf <cmetcalf@ezchip.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: <kbuild-all@01.org>, open list <linux-kernel@vger.kernel.org>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [next:master 9165/9394] arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used
Date: Thu, 4 Jun 2015 13:52:50 -0400 [thread overview]
Message-ID: <55709072.50009@ezchip.com> (raw)
In-Reply-To: <201506050049.K4Tzl0SJ%fengguang.wu@intel.com>
On 06/04/2015 12:24 PM, kbuild test robot wrote:
> Hi Chris,
>
> First bad commit (maybe != root cause):
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 94feb25d6fcd34b0d45c18cf0185d83d0c13c60a
> commit: 41dd496c8d9f622efff2c3b92ee308e13f58f639 [9165/9394] tile: force CONFIG_TILEGX if ARCH != tilepro
> config: tile-allnoconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 41dd496c8d9f622efff2c3b92ee308e13f58f639
> # save the attached .config to linux build tree
> make.cross ARCH=tile
>
> All warnings (new ones prefixed by >>):
>
> arch/tile/mm/fault.c: In function 'do_page_fault':
>>> arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used [-Wunused-label]
> --
>>> kernel/sched/rt.c:64:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
This last warning looks like it comes from commit b6366f048e0c,
"sched/rt: Use IPI to trigger RT task push migration instead of pulling".
The declaration of push_irq_work_func() should be guarded by
HAVE_RT_PUSH_IPI, not CONFIG_SMP.
I will fix the first warning by refactoring tile's do_page_fault() more like
the way it was done for x86, which avoids complicated ifdefs for
the "done" label to only instantiate it based on whether the various
code paths that jump to it are ifdef'ed in or not.
Thanks!
--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com
parent reply other threads:[~2015-06-04 17:53 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <201506050049.K4Tzl0SJ%fengguang.wu@intel.com>]
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=55709072.50009@ezchip.com \
--to=cmetcalf@ezchip.com \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.