linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux-next 1/2] staging: dgap: fix missing header inclusion
@ 2013-12-31 10:55 Vincent Stehlé
  2013-12-31 10:55 ` [PATCH linux-next 2/2] staging: dgap: fix checkpatch warnings Vincent Stehlé
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehlé @ 2013-12-31 10:55 UTC (permalink / raw)
  To: driverdev-devel, devel, linux-kernel, linux-next
  Cc: Vincent Stehlé,
	Lidza Louina, Greg Kroah-Hartman, Scott H Kilau, Eng.Linux,
	trivial

Include slab.h to fix the following compilation error:

  drivers/staging/dgap/dgap_fep5.c: In function ‘dgap_do_config_load’:
  drivers/staging/dgap/dgap_fep5.c:78:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration]

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Scott H Kilau <Scott_Kilau@digi.com>
Cc: Eng.Linux@digi.com
Cc: trivial@kernel.org
---

Hi,

This can be seen with e.g. linux next-20131224 arm allmodconfig.

Best regards,

V.

 drivers/staging/dgap/dgap_fep5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c
index 15f9a85..7deea2a 100644
--- a/drivers/staging/dgap/dgap_fep5.c
+++ b/drivers/staging/dgap/dgap_fep5.c
@@ -39,6 +39,7 @@
 #include <asm/uaccess.h>	/* For copy_from_user/copy_to_user */
 #include <linux/tty.h>
 #include <linux/tty_flip.h>	/* For tty_schedule_flip */
+#include <linux/slab.h>
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
 #include <linux/sched.h>
-- 
1.8.5.2

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

end of thread, other threads:[~2013-12-31 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-31 10:55 [PATCH linux-next 1/2] staging: dgap: fix missing header inclusion Vincent Stehlé
2013-12-31 10:55 ` [PATCH linux-next 2/2] staging: dgap: fix checkpatch warnings Vincent Stehlé

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).