diff options
author | Arnd Bergmann <[email protected]> | 2015-10-16 11:30:56 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-10-18 19:58:46 -0700 |
commit | 119c7ad8084affb64b242b7c6d9d9f84b91163cb (patch) | |
tree | a59441f4cb69d450488bed5a0b9c952506bb5aa9 /lib/netdev-notifier-error-inject.c | |
parent | a679dbbbc6a363339aad75589706ee73762b75d9 (diff) |
net: hisilicon: include linux/vmalloc.h in dsaf
Some configurations fail to build the hns dsaf code because of
a missing header file:
ethernet/hisilicon/hns/hns_dsaf_main.c: In function 'hns_dsaf_init':
ethernet/hisilicon/hns/hns_dsaf_main.c:1096:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
priv->soft_mac_tbl = vzalloc(sizeof(*priv->soft_mac_tbl)
This adds the correct #include.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions