Patchwork vxge: should include tcp.h

login
register
mail settings
Submitter Alexander Beregalov
Date April 3, 2009, 9:34 a.m.
Message ID <a4423d670904030234l3734ad45t49009e8ede2e1d2d@mail.gmail.com>
Download mbox | patch
Permalink /patch/25565/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexander Beregalov - April 3, 2009, 9:34 a.m.
Fix this build error:

drivers/net/vxge/vxge-main.c: In function 'vxge_get_vpath_no':
drivers/net/vxge/vxge-main.c:695: error: dereferencing pointer to
incomplete type
...

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 drivers/net/vxge/vxge-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ramkrishna Vepa - April 3, 2009, 5:43 p.m.
Please accept. We had CONFIG_IPV6 enabled and so did not see this error.

Thanks,
Ram
> -----Original Message-----
> From: Alexander Beregalov [mailto:a.beregalov@gmail.com]
> Sent: Friday, April 03, 2009 2:35 AM
> To: linux-next@vger.kernel.org; Netdev; David Miller; Ramkrishna Vepa
> Subject: [PATCH] vxge: should include tcp.h
> 
> Fix this build error:
> 
> drivers/net/vxge/vxge-main.c: In function 'vxge_get_vpath_no':
> drivers/net/vxge/vxge-main.c:695: error: dereferencing pointer to
> incomplete type
> ...
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
> 
>  drivers/net/vxge/vxge-main.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/vxge/vxge-main.c
b/drivers/net/vxge/vxge-main.c
> index 61ef161..b7f08f3 100644
> --- a/drivers/net/vxge/vxge-main.c
> +++ b/drivers/net/vxge/vxge-main.c
> @@ -43,6 +43,7 @@
> 
>  #include <linux/if_vlan.h>
>  #include <linux/pci.h>
> +#include <linux/tcp.h>
>  #include <net/ip.h>
>  #include <linux/netdevice.h>
>  #include <linux/etherdevice.h>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - April 4, 2009, 11:36 p.m.
From: Alexander Beregalov <a.beregalov@gmail.com>
Date: Fri, 3 Apr 2009 13:34:40 +0400

> Fix this build error:
> 
> drivers/net/vxge/vxge-main.c: In function 'vxge_get_vpath_no':
> drivers/net/vxge/vxge-main.c:695: error: dereferencing pointer to
> incomplete type
> ...
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c
index 61ef161..b7f08f3 100644
--- a/drivers/net/vxge/vxge-main.c
+++ b/drivers/net/vxge/vxge-main.c
@@ -43,6 +43,7 @@ 

 #include <linux/if_vlan.h>
 #include <linux/pci.h>
+#include <linux/tcp.h>
 #include <net/ip.h>
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>