[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09D2323D-79B7-423A-9BA6-504112AFE104@intel.com>
Date: Fri, 19 Sep 2014 20:49:53 +0000
From: "Rustad, Mark D" <mark.d.rustad@...el.com>
To: Richard Weinberger <richard@....at>
CC: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"sparse@...isli.org" <sparse@...isli.org>,
"linux-sparse@...r.kernel.org" <linux-sparse@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
"Ingo Molnar" <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
"Brian Norris" <computersforpeace@...il.com>
Subject: Re: [PATCH 7/7] sched: Silence nested-externs warnings
On Sep 19, 2014, at 1:41 PM, Richard Weinberger <richard@....at> wrote:
> Am 19.09.2014 22:34, schrieb Rustad, Mark D:
>> Excellent. I'll try adding an include of delayacct.h instead. My patch was based on the assumption that the existing code was wanted in that form for some reason, so the patch served a purpose in recognizing that it isn't. So the macros have served a purpose before even being in place. :-)
>
> I bet sched.h does not include delayacct.h for a good reason.
> sched.h is included in a lot of files, maybe delayacct.h introduces nasty dependency issues.
> You'll find out. ;-)
Right you are, but when I'm done, there will only be one extern declaration for that global, which is better than more than one. I'll think a little before settling on the best resolution.
--
Mark Rustad, Networking Division, Intel Corporation
Download attachment "signature.asc" of type "application/pgp-signature" (842 bytes)
Powered by blists - more mailing lists