diff options
author | Josh Boyer <jwboyer@redhat.com> | 2014-01-05 15:24:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-06 01:34:36 (GMT) |
commit | f35f76ee76df008131bbe01a2297de0c55ee2297 (patch) | |
tree | 94861b53d9f08cb8eb9b047e1927e8b555c9ddde /drivers | |
parent | 965801e1eb624154fe5e9dc5d2ff0b7f1951a11c (diff) | |
download | linux-f35f76ee76df008131bbe01a2297de0c55ee2297.tar.xz |
xen-netback: Include header for vmalloc
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/xen-netback/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |