[PATCH -next] staging: dgnc: driver.c: Add missing #include <linux/slab.h>

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Aug 23 17:01:38 UTC 2013


On Fri, Aug 23, 2013 at 02:23:49PM +0200, Geert Uytterhoeven wrote:
> 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 at linux-m68k.org>

This already went into my tree yesterday, so all should be good now.

thanks,

greg k-h


More information about the devel mailing list