From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932117AbbJSCm7 (ORCPT ); Sun, 18 Oct 2015 22:42:59 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:48877 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752423AbbJSCm5 (ORCPT ); Sun, 18 Oct 2015 22:42:57 -0400 Date: Sun, 18 Oct 2015 19:59:13 -0700 (PDT) Message-Id: <20151018.195913.1990635897175690354.davem@davemloft.net> To: arnd@arndb.de Cc: huangdaode@hisilicon.com, joe@perches.com, liguozhu@hisilicon.com, Yisen.Zhuang@huawei.com, netdev@vger.kernel.org, linuxarm@huawei.com, salil.mehta@huawei.com, kenneth-lee-2012@foxmail.com, xuwei5@hisilicon.com, lisheng011@huawei.com, linux-kernel@vger.kernel.org, lipeng321@huawei.com Subject: Re: [PATCH] net: hisilicon: include linux/vmalloc.h in dsaf From: David Miller In-Reply-To: <4903569.oS7BSflIyn@wuerfel> References: <1444967657-107994-1-git-send-email-huangdaode@hisilicon.com> <4903569.oS7BSflIyn@wuerfel> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 18 Oct 2015 19:42:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann 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 Applied, thank you.