[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1377809605-27788-1-git-send-email-geert@linux-m68k.org>
Date: Thu, 29 Aug 2013 22:53:25 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lidza Louina <lidza.louina@...il.com>
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH -next] staging: dgap: Add missing #include <linux/slab.h>
drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_module’:
drivers/staging/dgap/dgap_driver.c:423: error: implicit declaration of function ‘kfree’
drivers/staging/dgap/dgap_driver.c: In function ‘dgap_driver_kzmalloc’:
drivers/staging/dgap/dgap_driver.c:940: error: implicit declaration of function ‘kmalloc’
drivers/staging/dgap/dgap_driver.c:940: warning: initialization makes pointer from integer without a cast
Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
http://kisskb.ellerman.id.au/kisskb/buildresult/9422860/
http://kisskb.ellerman.id.au/kisskb/buildresult/9419277/
drivers/staging/dgap/dgap_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c
index 9f777e4..724a685 100644
--- a/drivers/staging/dgap/dgap_driver.c
+++ b/drivers/staging/dgap/dgap_driver.c
@@ -36,6 +36,7 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h> /* For udelay */
+#include <linux/slab.h>
#include <asm/uaccess.h> /* For copy_from_user/copy_to_user */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists