[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140922190128.GA2805@worktop.programming.kicks-ass.net>
Date: Mon, 22 Sep 2014 21:01:28 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Mark D Rustad <mark.d.rustad@...el.com>
Cc: sparse@...isli.org, linux-kernel@...r.kernel.org,
richard.weinberger@...il.com, linux-sparse@...r.kernel.org,
mingo@...hat.com, jeffrey.t.kirsher@...el.com,
computersforpeace@...il.com
Subject: Re: [PATCH] sched: Remove nested extern
On Mon, Sep 22, 2014 at 10:55:11AM -0700, Mark D Rustad wrote:
> Avoid W=2 nested-externs warning by moving the nested extern to
> a normal extern. This eliminates that warning which is generated
> for every inclusion of sched.h in a kernel build when W=2 is used.
> This also removes a point of maintenance if the definition of
> delayacct_on were ever to change.
>
Yeah, so why is that warning worth using? Just disable the warn if
you're bothered by it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists