From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:42:47 +1100

> From: Stephen Rothwell <[email protected]>
> Date: Thu, 5 Mar 2015 13:37:05 +1100
> Subject: [PATCH] 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 <[email protected]>

Applied, thanks Stephen.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to