mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: yang <yellowriver2010@hotmail.com>
Cc: "mingo@redhat.com" <mingo@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched/fair: make function static to avoid compile warnings
Date: Tue, 5 Jun 2018 16:16:17 +0200	[thread overview]
Message-ID: <20180605141617.GY12198@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <SG2PR0201MB09364888584EA71C70C90BA7B2660@SG2PR0201MB0936.apcprd02.prod.outlook.com>

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.

           reply	other threads:[~2018-06-05 14:16 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <SG2PR0201MB09364888584EA71C70C90BA7B2660@SG2PR0201MB0936.apcprd02.prod.outlook.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180605141617.GY12198@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=yellowriver2010@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®