Skip to content

Commit

Permalink
net: fix driver build errors due to missing net/ip6_checksum.h include
Browse files Browse the repository at this point in the history
  2.6.27-git2 kernel build fails with allyesconfig on powerpc with 
build error 

<introduced by commit 01f2e4e> 

CC    drivers/net/enic/enic_main.o
drivers/net/enic/enic_main.c: In function �enic_queue_wq_skb_tso�:
drivers/net/enic/enic_main.c:576: error: implicit declaration of function �csum_ipv6_magic�
make[3]: *** [drivers/net/enic/enic_main.o] Error 1

<introduced by commit c4e84bd>

drivers/net/qlge/qlge_main.c: In function �ql_tso�:
drivers/net/qlge/qlge_main.c:1862: error: implicit declaration of function �csum_ipv6_magic�
make[3]: *** [drivers/net/qlge/qlge_main.o] Error 1
  
<introduced by commit 9525223>

drivers/net/jme.c: In function �jme_tx_tso�:
drivers/net/jme.c:1784: error: implicit declaration of function �csum_ipv6_magic�
make[2]: *** [drivers/net/jme.o] Error 1

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kamalesh Babulal authored and David S. Miller committed Oct 14, 2008
1 parent bf94e17 commit b7c6bfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/enic/enic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/tcp.h>
#include <net/ip6_checksum.h>

#include "cq_enet_desc.h"
#include "vnic_dev.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/jme.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/if_vlan.h>
#include <net/ip6_checksum.h>
#include "jme.h"

static int force_pseudohp = -1;
Expand Down
1 change: 1 addition & 0 deletions drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <net/ip6_checksum.h>

#include "qlge.h"

Expand Down

0 comments on commit b7c6bfb

Please sign in to comment.