[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151018.195913.1990635897175690354.davem@davemloft.net>
Date: Sun, 18 Oct 2015 19:59:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: huangdaode@...ilicon.com, joe@...ches.com, liguozhu@...ilicon.com,
Yisen.Zhuang@...wei.com, netdev@...r.kernel.org,
linuxarm@...wei.com, salil.mehta@...wei.com,
kenneth-lee-2012@...mail.com, xuwei5@...ilicon.com,
lisheng011@...wei.com, linux-kernel@...r.kernel.org,
lipeng321@...wei.com
Subject: Re: [PATCH] net: hisilicon: include linux/vmalloc.h in dsaf
From: Arnd Bergmann <arnd@...db.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@...db.de>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists