All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [next:master 9165/9394] arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used
       [not found] <201506050049.K4Tzl0SJ%fengguang.wu@intel.com>
@ 2015-06-04 17:52 ` Chris Metcalf
  0 siblings, 0 replies; only message in thread
From: Chris Metcalf @ 2015-06-04 17:52 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, open list, Steven Rostedt

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


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

only message in thread, other threads:[~2015-06-04 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201506050049.K4Tzl0SJ%fengguang.wu@intel.com>
2015-06-04 17:52 ` [next:master 9165/9394] arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used Chris Metcalf

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.