netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] pch_gbe: add header files
       [not found] <20100928141823.8c61000e.sfr@canb.auug.org.au>
@ 2010-09-28 16:56 ` Randy Dunlap
  2010-09-28 17:34   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-09-28 16:56 UTC (permalink / raw)
  To: Stephen Rothwell, netdev, davem; +Cc: linux-next, LKML, masa-korg

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix build errors, more header files needed.

drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/net/pch_gbe/pch_gbe.h |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20100927.orig/drivers/net/pch_gbe/pch_gbe.h
+++ linux-next-20100927/drivers/net/pch_gbe/pch_gbe.h
@@ -31,6 +31,8 @@
 #include <linux/ethtool.h>
 #include <linux/vmalloc.h>
 #include <net/ip.h>
+#include <net/tcp.h>
+#include <net/udp.h>
 
 /**
  * pch_gbe_regs_mac_adr - Structure holding values of mac address registers

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

* Re: [PATCH -next] pch_gbe: add header files
  2010-09-28 16:56 ` [PATCH -next] pch_gbe: add header files Randy Dunlap
@ 2010-09-28 17:34   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-09-28 17:34 UTC (permalink / raw)
  To: randy.dunlap; +Cc: sfr, netdev, linux-next, linux-kernel, masa-korg

From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Tue, 28 Sep 2010 09:56:43 -0700

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix build errors, more header files needed.
> 
> drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
> drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int')
> drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int')
> drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'
> drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int')
> drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

Applied, thanks Randy.

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

end of thread, other threads:[~2010-09-28 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100928141823.8c61000e.sfr@canb.auug.org.au>
2010-09-28 16:56 ` [PATCH -next] pch_gbe: add header files Randy Dunlap
2010-09-28 17:34   ` 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).