linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel/sched/fair.c:1524:20: warning: ‘test_idle_cores’ declared ‘static’ but never defined
@ 2020-03-03  9:12 Naresh Kamboju
  2020-03-03 10:39 ` kernel/sched/fair.c:1524:20: warning: ???test_idle_cores??? declared ???static??? " Mel Gorman
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2020-03-03  9:12 UTC (permalink / raw)
  To: open list
  Cc: Vincent Guittot, Ingo Molnar, Peter Zijlstra, juri.lelli,
	Dietmar Eggemann, rostedt, bsegall, mgorman, lkft-triage,
	anshuman.khandual

Linux next-20200303 arm64 build warnings
Please refer below links for more information.

make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build Image

../kernel/sched/fair.c:1524:20: warning: ‘test_idle_cores’ declared
‘static’ but never defined [-Wunused-function]
 1524 | static inline bool test_idle_cores(int cpu, bool def);
      |                    ^~~~~~~~~~~~~~~

ref:
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/457079061
http://builds.tuxbuild.com/fBmL_h3chXb8rMVt7r0aFg/build.log
http://builds.tuxbuild.com/fBmL_h3chXb8rMVt7r0aFg/kernel.config
http://builds.tuxbuild.com/fBmL_h3chXb8rMVt7r0aFg/bmeta.json

-- 
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kernel/sched/fair.c:1524:20: warning: ???test_idle_cores??? declared ???static??? but never defined
  2020-03-03  9:12 kernel/sched/fair.c:1524:20: warning: ‘test_idle_cores’ declared ‘static’ but never defined Naresh Kamboju
@ 2020-03-03 10:39 ` Mel Gorman
  0 siblings, 0 replies; 2+ messages in thread
From: Mel Gorman @ 2020-03-03 10:39 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, Vincent Guittot, Ingo Molnar, Peter Zijlstra,
	juri.lelli, Dietmar Eggemann, rostedt, bsegall, lkft-triage,
	anshuman.khandual

On Tue, Mar 03, 2020 at 02:42:38PM +0530, Naresh Kamboju wrote:
> Linux next-20200303 arm64 build warnings
> Please refer below links for more information.
> 
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
> aarch64-linux-gnu-gcc" O=build Image
> 
> ../kernel/sched/fair.c:1524:20: warning: ???test_idle_cores??? declared
> ???static??? but never defined [-Wunused-function]
>  1524 | static inline bool test_idle_cores(int cpu, bool def);
>       |                    ^~~~~~~~~~~~~~~
> 

There is a fix posted that addresses this but it has not reached
tip/sched/core. I'll resend the accumulated fixes today and cc you.

-- 
Mel Gorman
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-03 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03  9:12 kernel/sched/fair.c:1524:20: warning: ‘test_idle_cores’ declared ‘static’ but never defined Naresh Kamboju
2020-03-03 10:39 ` kernel/sched/fair.c:1524:20: warning: ???test_idle_cores??? declared ???static??? " Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).