Re: [PATCH] GPIO: #include <linux/kernel.h> for might_sleep

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Friday, April 11, 2008 - 10:05 am

On Friday 11 April 2008, Uwe Kleine-König wrote:

That's a pretty unusual policy.  Not one that's generally
followed in the kernel, either ... 



If you like alphabetical, why the exception for <asm/...> ??
:)



So include <linux/kernel.h> first.  There *is* a policy
of avoiding extra #includes ... extras slow down builds.

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] GPIO: #include &lt;linux/kernel.h&gt; for might_sleep, Uwe Kleine-König, (Fri Apr 11, 1:24 am)
Re: [PATCH] GPIO: #include <linux/kernel.h> for might_sleep, David Brownell, (Fri Apr 11, 10:05 am)