From: Stephen Rothwell Date: Thu, 5 Mar 2015 02:37:05 +0000 (+1100) Subject: mpls: using vzalloc requires including vmalloc.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b5edb2f4a57dd0da85b9e2cbace06447e02e097;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mpls: using vzalloc requires including vmalloc.h Fixes this build error: net/mpls/af_mpls.c: In function 'resize_platform_label_table': net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] labels = vzalloc(size); ^ Fixes: 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table") Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 23e51d13b0ff..20cf48a8593d 100644 --- a/net/mpls/af_mpls.c +++ b/net/mpls/af_mpls.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include