public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] error: implicit declaration of function `get_softnet_dma'
@ 2007-10-26 20:55 S.Çağlar Onur
  0 siblings, 0 replies; only message in thread
From: S.Çağlar Onur @ 2007-10-26 20:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Jeff Garzik, Linux Kernel Mailing List

Hi;

Following trivial patch corrects 

caglar@zangetsu linux-2.6 $ make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  LD      net/ipv6/built-in.o
  CC [M]  net/ipv6/tcp_ipv6.o
net/ipv6/tcp_ipv6.c: In function `tcp_v6_rcv':
net/ipv6/tcp_ipv6.c:1736: error: implicit declaration of function `get_softnet_dma'
net/ipv6/tcp_ipv6.c:1736: warning: assignment makes pointer from integer without a cast
make[2]: *** [net/ipv6/tcp_ipv6.o] Hata 1
make[1]: *** [net/ipv6] Hata 2
make: *** [net] Hata 2

compiliation error for current Linus's git tree

Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>

diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 06fa4ba..8520802 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -59,6 +59,7 @@
 #include <net/snmp.h>
 #include <net/dsfield.h>
 #include <net/timewait_sock.h>
+#include <net/netdma.h>
 
 #include <asm/uaccess.h>
 
Cheers
-- 
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 20:55 [PATCH] error: implicit declaration of function `get_softnet_dma' S.Çağlar Onur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox