linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rfkill: include err.h
@ 2009-06-09 13:56 Johannes Berg
  2009-06-10  0:49 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2009-06-09 13:56 UTC (permalink / raw)
  To: John Linville; +Cc: Stephen Rothwell, linux-wireless

Since we use ERR_PTR and similar macros, we need to include linux/err.h.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 include/linux/rfkill.h |    1 +
 1 file changed, 1 insertion(+)

--- wireless-testing.orig/include/linux/rfkill.h	2009-06-09 15:55:06.000000000 +0200
+++ wireless-testing/include/linux/rfkill.h	2009-06-09 15:55:20.000000000 +0200
@@ -105,6 +105,7 @@ enum rfkill_user_states {
 #include <linux/mutex.h>
 #include <linux/device.h>
 #include <linux/leds.h>
+#include <linux/err.h>
 
 /* this is opaque */
 struct rfkill;



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rfkill: include err.h
  2009-06-09 13:56 [PATCH] rfkill: include err.h Johannes Berg
@ 2009-06-10  0:49 ` David Miller
  2009-06-10  1:34   ` John W. Linville
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2009-06-10  0:49 UTC (permalink / raw)
  To: johannes; +Cc: linville, sfr, linux-wireless

From: Johannes Berg <johannes@sipsolutions.net>
Date: Tue, 09 Jun 2009 15:56:52 +0200

> Since we use ERR_PTR and similar macros, we need to include linux/err.h.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

I'm applying this directly to net-next-2.6 to fix the -next
build.

Please submit the more critical build fixes for regressions
introduced by the wireless tree direclty to me in the future
thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rfkill: include err.h
  2009-06-10  0:49 ` David Miller
@ 2009-06-10  1:34   ` John W. Linville
  2009-06-10  7:22     ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: John W. Linville @ 2009-06-10  1:34 UTC (permalink / raw)
  To: David Miller; +Cc: johannes, sfr, linux-wireless

On Tue, Jun 09, 2009 at 05:49:52PM -0700, David Miller wrote:
> From: Johannes Berg <johannes@sipsolutions.net>
> Date: Tue, 09 Jun 2009 15:56:52 +0200
> 
> > Since we use ERR_PTR and similar macros, we need to include linux/err.h.
> > 
> > Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> 
> I'm applying this directly to net-next-2.6 to fix the -next
> build.
> 
> Please submit the more critical build fixes for regressions
> introduced by the wireless tree direclty to me in the future
> thanks.

That's a fine policy -- no objection.  However, please be aware that
Stephen picks-up stuff from the wireless trees even when I haven't
yet asked Dave to pull (so Dave might not always have the patch that
causes the break).  So, just keep that in mind (and CC me as well,
please). :-)

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rfkill: include err.h
  2009-06-10  1:34   ` John W. Linville
@ 2009-06-10  7:22     ` Johannes Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2009-06-10  7:22 UTC (permalink / raw)
  To: John W. Linville; +Cc: David Miller, sfr, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

On Tue, 2009-06-09 at 21:34 -0400, John W. Linville wrote:
> On Tue, Jun 09, 2009 at 05:49:52PM -0700, David Miller wrote:
> > From: Johannes Berg <johannes@sipsolutions.net>
> > Date: Tue, 09 Jun 2009 15:56:52 +0200
> > 
> > > Since we use ERR_PTR and similar macros, we need to include linux/err.h.
> > > 
> > > Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> > 
> > I'm applying this directly to net-next-2.6 to fix the -next
> > build.
> > 
> > Please submit the more critical build fixes for regressions
> > introduced by the wireless tree direclty to me in the future
> > thanks.
> 
> That's a fine policy -- no objection.  However, please be aware that
> Stephen picks-up stuff from the wireless trees even when I haven't
> yet asked Dave to pull (so Dave might not always have the patch that
> causes the break).  So, just keep that in mind (and CC me as well,
> please). :-)

Alright, I'll do my best to differentiate based on what's in whose
tree :)

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-10  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 13:56 [PATCH] rfkill: include err.h Johannes Berg
2009-06-10  0:49 ` David Miller
2009-06-10  1:34   ` John W. Linville
2009-06-10  7:22     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).