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

From: David Miller
Date: Sun Oct 18 2015 - 22:43:03 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
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@xxxxxxxx>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/