summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2014-01-05 16:24:01 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-06 02:34:36 +0100
commitf35f76ee76df008131bbe01a2297de0c55ee2297 (patch)
tree94861b53d9f08cb8eb9b047e1927e8b555c9ddde /drivers/net
parentnet: 6lowpan: fix lowpan_header_create non-compression memcpy call (diff)
downloadlinux-f35f76ee76df008131bbe01a2297de0c55ee2297.tar.xz
linux-f35f76ee76df008131bbe01a2297de0c55ee2297.zip
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/net')
-rw-r--r--drivers/net/xen-netback/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c
index 34ca4e58a43d..fff8cddfed81 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>