From: Arnd Bergmann Date: Tue, 10 Jun 2014 08:34:36 +0000 (+0200) Subject: net: xen-netback: include linux/vmalloc.h again X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7b599d7c1dbdcdb9d4228ec9d3934c139592ba3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 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 Cc: Wei Liu Cc: Andrew J. Bennieston Acked-by: Wei Liu Signed-off-by: David S. Miller --- diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 6929bcb61cf0..852da34b8961 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include