diff options
| author | Stephen Rothwell <[email protected]> | 2015-03-05 02:37:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-06 02:01:33 +0000 |
| commit | 4b5edb2f4a57dd0da85b9e2cbace06447e02e097 (patch) | |
| tree | 66b7ae8b06cfdbf303f420537d45127157bc8335 /net/switchdev/switchdev.c | |
| parent | Merge branch 'cxgb4-next' (diff) | |
| download | kernel-4b5edb2f4a57dd0da85b9e2cbace06447e02e097.tar.gz kernel-4b5edb2f4a57dd0da85b9e2cbace06447e02e097.zip | |
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]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
