lkml.org 
[lkml]   [2010]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSat, 14 Aug 2010 23:55:58 +0200
SubjectRe: [PATCH] staging: spectra needs <linux/slab.h>
FromGeert Uytterhoeven <>
2010/8/10 Geert Uytterhoeven <geert@linux-m68k.org>:
> 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@linux-m68k.org

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-08-14 23:59    [from the cache]
©2003-2010