netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] irnet_irda.c must #include <asm/unaligned.h>
@ 2008-05-14 20:27 Adrian Bunk
  2008-05-14 22:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-14 20:27 UTC (permalink / raw)
  To: Graf Yang, Bryan Wu, David S. Miller, Linus Torvalds; +Cc: linux-kernel, netdev

This patch fixes the following compile error caused by
commit 332223831e86b2e17b48b4afafad07d8e3b73861
(irda: Fix a misalign access issue. (v2)):

<--  snip  -->

...
  CC      net/irda/irnet/irnet_irda.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/net/irda/irnet/irnet_irda.c: In function ‘irnet_discovery_indication’:
/home/bunk/linux/kernel-2.6/git/linux-2.6/net/irda/irnet/irnet_irda.c:1676: error: implicit declaration of function ‘get_unaligned’
make[4]: *** [net/irda/irnet/irnet_irda.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
41881ccc5581fe2e27ca15b942c9f79e28b45276 diff --git a/net/irda/irnet/irnet_irda.c b/net/irda/irnet/irnet_irda.c
index a3ec002..cf9a4b5 100644
--- a/net/irda/irnet/irnet_irda.c
+++ b/net/irda/irnet/irnet_irda.c
@@ -10,6 +10,7 @@
 
 #include "irnet_irda.h"		/* Private header */
 #include <linux/seq_file.h>
+#include <asm/unaligned.h>
 
 /*
  * PPP disconnect work: we need to make sure we're in


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

* Re: [2.6 patch] irnet_irda.c must #include <asm/unaligned.h>
  2008-05-14 20:27 [2.6 patch] irnet_irda.c must #include <asm/unaligned.h> Adrian Bunk
@ 2008-05-14 22:30 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-05-14 22:30 UTC (permalink / raw)
  To: bunk; +Cc: graf.yang, cooloney, torvalds, linux-kernel, netdev

From: Adrian Bunk <bunk@kernel.org>
Date: Wed, 14 May 2008 23:27:09 +0300

> This patch fixes the following compile error caused by
> commit 332223831e86b2e17b48b4afafad07d8e3b73861
> (irda: Fix a misalign access issue. (v2)):
> 
> <--  snip  -->
> 
> ...
>   CC      net/irda/irnet/irnet_irda.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/net/irda/irnet/irnet_irda.c: In function ‘irnet_discovery_indication’:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/net/irda/irnet/irnet_irda.c:1676: error: implicit declaration of function ‘get_unaligned’
> make[4]: *** [net/irda/irnet/irnet_irda.o] Error 1
> 
> <--  snip  -->
> 
> Reported-by: Adrian Bunk <bunk@kernel.org>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Applied, thanks a lot Adrian.

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

end of thread, other threads:[~2008-05-14 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 20:27 [2.6 patch] irnet_irda.c must #include <asm/unaligned.h> Adrian Bunk
2008-05-14 22:30 ` David Miller

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).