Re: [PATCH] sched/fair: make some function static

2018-11-08 Thread Peter Zijlstra
On Thu, Nov 08, 2018 at 01:54:12PM +0800, Yi Wang wrote: > Make some function static as they are not used outside of fair.c. > > This fixes the following warning when building with 'W=1': > > kernel/sched/fair.c:2439:6: warning: no previous prototype for > ‘task_numa_work’

Re: [PATCH] sched/fair: make some function static

2018-11-08 Thread Peter Zijlstra
On Thu, Nov 08, 2018 at 01:54:12PM +0800, Yi Wang wrote: > Make some function static as they are not used outside of fair.c. > > This fixes the following warning when building with 'W=1': > > kernel/sched/fair.c:2439:6: warning: no previous prototype for > ‘task_numa_work’

[PATCH] sched/fair: make some function static

2018-11-07 Thread Yi Wang
Make some function static as they are not used outside of fair.c. This fixes the following warning when building with 'W=1': kernel/sched/fair.c:2439:6: warning: no previous prototype for ‘task_numa_work’ [-Wmissing-prototypes] kernel/sched/fair.c:2584:6: warning: no previous prototype for

[PATCH] sched/fair: make some function static

2018-11-07 Thread Yi Wang
Make some function static as they are not used outside of fair.c. This fixes the following warning when building with 'W=1': kernel/sched/fair.c:2439:6: warning: no previous prototype for ‘task_numa_work’ [-Wmissing-prototypes] kernel/sched/fair.c:2584:6: warning: no previous prototype for