Re: [PATCH] staging: spectra needs <linux/slab.h>

From: Geert Uytterhoeven
Date: Sat Aug 14 2010 - 17:56:06 EST


2010/8/10 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:633: warning: assignment makes pointer from integer without a cast

Still more errors:

drivers/staging/spectra/ffsport.c: error: too many arguments to function
âblk_queue_orderedâ: => 655
drivers/staging/spectra/ffsport.c: error: unknown field âlocked_ioctlâ s
pecified in initializer: => 605
drivers/staging/spectra/ffsport.c: error: âREQ_LB_OP_FLUSHâ undeclared (
first use in this function): => 280, 301
drivers/staging/spectra/ffsport.c: error: âREQ_TYPE_LINUX_BLOCKâ undecla
red (first use in this function): => 278, 300

Some of these have been reported by Randy in linux-next on ... July 8.
The locked_ioctl one is a `new' one, though...

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
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/