Re: [PATCH] net: hisilicon: include linux/vmalloc.h in dsaf

David Miller
2015-10-19T02:59:13Z

From: Arnd Bergmann <arnd@arndb.de>
Date: Fri, 16 Oct 2015 11:30:56 +0200

> 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 <arnd@arndb.de>

Applied, thank you.