linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] staging: dgnc: driver.c: Add missing #include <linux/slab.h>
@ 2013-08-23 12:23 Geert Uytterhoeven
  2013-08-23 17:01 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2013-08-23 12:23 UTC (permalink / raw)
  To: Lidza Louina, Greg Kroah-Hartman
  Cc: devel, linux-next, Geert Uytterhoeven, linux-kernel

m68k/sparc64 allmodconfig:

drivers/staging/dgnc/dgnc_driver.c: In function ‘dgnc_cleanup_board’:
drivers/staging/dgnc/dgnc_driver.c:459: error: implicit declaration of function ‘kfree’
drivers/staging/dgnc/dgnc_driver.c: In function ‘dgnc_driver_kzmalloc’:
drivers/staging/dgnc/dgnc_driver.c:905: error: implicit declaration of function ‘kmalloc’
drivers/staging/dgnc/dgnc_driver.c:905: warning: initialization makes pointer from integer without a cast

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
http://kisskb.ellerman.id.au/kisskb/buildresult/9356764/
http://kisskb.ellerman.id.au/kisskb/buildresult/9356016/

 drivers/staging/dgnc/dgnc_driver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index fa4e91a..8032368 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -34,6 +34,7 @@
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
 #include <linux/sched.h>
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-23 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 12:23 [PATCH -next] staging: dgnc: driver.c: Add missing #include <linux/slab.h> Geert Uytterhoeven
2013-08-23 17:01 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).