Subject: Re: 2.6.21-rc5-mm3: fix e1000 compilation

From: "Kok, Auke" <[email-masked]>
Date: Fri, 30 Mar 2007 07:39:04 -0700

Alexey Dobriyan wrote:
>   CC [M]  drivers/net/e1000/e1000_main.o
> drivers/net/e1000/e1000_main.c: In function 'e1000_tso':
> drivers/net/e1000/e1000_main.c:2968: error: dereferencing pointer to incomplete type
> 	...
> 

can you send me your config? I'd like to see why nobody here didn't spot this on 
any of our tests.

thanks,

Auke

> --- a/drivers/net/e1000/e1000_main.c
> +++ b/drivers/net/e1000/e1000_main.c
> @@ -32,6 +32,8 @@ #include <linux/init.h>
>  #include <linux/vmalloc.h>
>  #include <linux/pagemap.h>
>  #include <linux/netdevice.h>
> +#include <linux/tcp.h>
> +#include <linux/ipv6.h>
>  #include <net/checksum.h>
>  #include <net/ip6_checksum.h>
>  #include <linux/mii.h>
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email-masked]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/