From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: [PATCH] net: xen-netback: include linux/vmalloc.h again Date: Tue, 10 Jun 2014 10:34:36 +0200 Message-ID: <5508988.K5Wec8A6hA__42373.806416481$1402389382$gmane$org@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WuHW1-0003i1-6K for xen-devel@lists.xenproject.org; Tue, 10 Jun 2014 08:34:45 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: netdev@vger.kernel.org Cc: "Andrew J. Bennieston" , Josh Boyer , Wei Liu , David Miller , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org commit e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue struct") added a use of vzalloc/vfree to interface.c, but removed the #include statement at the same time, which causes this build error: drivers/net/xen-netback/interface.c: In function 'xenvif_free': drivers/net/xen-netback/interface.c:754:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] vfree(vif->queues); ^ cc1: some warnings being treated as errors Signed-off-by: Arnd Bergmann Cc: Wei Liu Cc: Andrew J. Bennieston --- I haven't found another report of this bug, but if someone else already submitted a fix, please ignore this one. Incidentally, it's the same bug that Josh fixed before in January, but it has reappeared now, see https://lkml.org/lkml/2014/1/5/36 diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 6929bcb..852da34 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include