[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180605141617.GY12198@hirez.programming.kicks-ass.net>
Date: Tue, 5 Jun 2018 16:16:17 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: yang <yellowriver2010@...mail.com>
Cc: "mingo@...hat.com" <mingo@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched/fair: make function static to avoid compile
warnings
On Tue, Jun 05, 2018 at 01:46:59PM +0000, yang wrote:
> Fix compile warnings:
> CC kernel/sched/fair.o
> kernel/sched/fair.c:2461:6: warning: no previous prototype for ‘task_numa_work’ [-Wmissing-prototypes]
> void task_numa_work(struct callback_head *work)
> ^
> kernel/sched/fair.c:2606:6: warning: no previous prototype for ‘task_tick_numa’ [-Wmissing-prototypes]
> void task_tick_numa(struct rq *rq, struct task_struct *curr)
> ^
> kernel/sched/fair.c:3853:6: warning: no previous prototype for ‘sync_entity_load_avg’ [-Wmissing-prototypes]
> void sync_entity_load_avg(struct sched_entity *se)
> ^
> kernel/sched/fair.c:3866:6: warning: no previous prototype for ‘remove_entity_load_avg’ [-Wmissing-prototypes]
> void remove_entity_load_avg(struct sched_entity *se)
What compiler does that? Seems like a pretty annoying warning.
Powered by blists - more mailing lists