lkml.org 
[lkml]   [2014]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] xen-netback: Include header for vmalloc
On Sun, Jan 05, 2014 at 10:24:01AM -0500, Josh Boyer wrote:
> Commit ac3d5ac27735 ("xen-netback: fix guest-receive-side array sizes")
> added calls to vmalloc and vfree in the interface.c file without including
> <linux/vmalloc.h>. This causes build failures if the
> -Werror=implicit-function-declaration flag is passed.
>
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>

Acked-by: Wei Liu <wei.liu2@citrix.com>

Thanks
Wei.

> ---
> drivers/net/xen-netback/interface.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c
> index 34ca4e5..fff8cdd 100644
> --- a/drivers/net/xen-netback/interface.c
> +++ b/drivers/net/xen-netback/interface.c
> @@ -34,6 +34,7 @@
> #include <linux/ethtool.h>
> #include <linux/rtnetlink.h>
> #include <linux/if_vlan.h>
> +#include <linux/vmalloc.h>
>
> #include <xen/events.h>
> #include <asm/xen/hypercall.h>
> --
> 1.8.4.2
>
> --
> 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


\
 
 \ /
  Last update: 2014-01-06 00:21    [W:0.051 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site