Re: [PATCH resend v2.6.36-rc3] staging: spectra needs <linux/slab.h>

From: Pekka Enberg
Date: Mon Aug 30 2010 - 03:07:43 EST


2010/8/30 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>:
> On one of my m68k test builds I get:
>
> drivers/staging/spectra/ffsport.c: In function ‘ioctl_read_page_data’:
> drivers/staging/spectra/ffsport.c:196: error: implicit declaration of function ‘kmalloc’
> drivers/staging/spectra/ffsport.c:196: warning: assignment makes pointer from integer without a cast
> drivers/staging/spectra/ffsport.c:212: error: implicit declaration of function ‘kfree’
> drivers/staging/spectra/ffsport.c: In function ‘ioctl_write_page_data’:
> drivers/staging/spectra/ffsport.c:229: warning: assignment makes pointer from integer without a cast
> drivers/staging/spectra/ffsport.c: In function ‘SBD_setup_device’:
> drivers/staging/spectra/ffsport.c:637: warning: assignment makes pointer from integer without a cast
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Acked-by: Pekka Enberg <penberg@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/