Skip to content

sched: address missing-prototype warnings

Arnd Bergmann lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5sched: hide unused sched_update_scaling()kernel/sched/fair.c+2 -11 reply
2/5sched: add schedule_user() declarationkernel/sched/sched.h+1 -00 replies
3/5sched: fair: hide unused init_cfs_bandwidth() stubkernel/sched/fair.c+1 -21 reply
4/5sched: make task_vruntime_update() prototype visiblekernel/sched/core.c kernel/sched/sched.h+1 -21 reply
5/5sched: fair: move unused stub functions to headerkernel/sched/fair.c kernel/sched/sched.h+11 -131 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMukesh OjhaVincent Guittot
SeriesR-b
1/5R-b
2/5
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] sched: address missing-prototype warnings

From: Arnd Bergmann <[email protected]>

I sent out a lot of -Wmissing-prototype warnings already, but noticed that I missed some of the patches I did for the scheduler.

Addressing this is mainly useful in order to allow turning the warning on by default in the future, but I also tried to improe the code where possible.

Arnd Bergmann (5):
sched: hide unused sched_update_scaling()
sched: add schedule_user() declaration
sched: fair: hide unused init_cfs_bandwidth() stub
sched: make task_vruntime_update() prototype visible
sched: fair: move unused stub functions to header

 kernel/sched/core.c  |  2 --
 kernel/sched/fair.c  | 19 +++----------------
 kernel/sched/sched.h | 13 +++++++++++++
 3 files changed, 16 insertions(+), 18 deletions(-)
Signature · 13 lines
2.39.2

Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Vincent Guittot <[email protected]>
Cc: Dietmar Eggemann <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Ben Segall <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Daniel Bristot de Oliveira <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: [email protected]