From 10ed61c432c013705ef6a2bebad139fc5d72e274 Mon Sep 17 00:00:00 2001 From: "David S. Miller" <davem@davemloft.net> Date: Tue, 21 Sep 2010 16:11:06 -0700 Subject: [PATCH] sfc: Fix build due to lack of vmalloc.h include. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit drivers/net/sfc/filter.c: In function âefx_probe_filtersâ: drivers/net/sfc/filter.c:422: error: implicit declaration of function âvmallocâ drivers/net/sfc/filter.c:422: warning: assignment makes pointer from integer without a cast drivers/net/sfc/filter.c: In function âefx_remove_filtersâ: drivers/net/sfc/filter.c:442: error: implicit declaration of function âvfreeâ Signed-off-by: David S. Miller <davem@davemloft.net> --- drivers/net/sfc/net_driver.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index ea6691c83fbae..b3f2bf4367352 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -29,6 +29,7 @@ #include <linux/device.h> #include <linux/highmem.h> #include <linux/workqueue.h> +#include <linux/vmalloc.h> #include <linux/i2c.h> #include "enum.h" -- 2.30.2