]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: xen-netback: include linux/vmalloc.h again
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Jun 2014 08:34:36 +0000 (10:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 22:19:28 +0000 (15:19 -0700)
commite7b599d7c1dbdcdb9d4228ec9d3934c139592ba3
tree46411c2709ea70813877fd92cfd27185bb024874
parent71b9c4a8388f596b603a72c32404b39fe0f62588
net: xen-netback: include linux/vmalloc.h again

commit e9ce7cb6b107 ("xen-netback: Factor queue-specific data into
queue struct") added a use of vzalloc/vfree to interface.c, but
removed the #include <linux/vmalloc.h> statement at the same time,
which causes this build error:

drivers/net/xen-netback/interface.c: In function 'xenvif_free':
drivers/net/xen-netback/interface.c:754:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
  vfree(vif->queues);
  ^
cc1: some warnings being treated as errors

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Andrew J. Bennieston <andrew.bennieston@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c