Re: 2.5.68-bk10 blkmtd.c:219: warning: implicit declaration of function `alloc_kiovec'

From: Grzegorz Jaskiewicz (gj@pointblue.com.pl)
Date: Wed Apr 30 2003 - 18:58:39 EST


On Thu, 2003-05-01 at 00:25, Grzegorz Jaskiewicz wrote:
> Well, "burned" on ieee1394 i will not try to patch it my self :)
> Anyway, i can live without those drivers :)

> drivers/mtd/devices/blkmtd.c:52:25: linux/iobuf.h: No such file or
> directory

I've tried to investigate this. What happend to iobuf.{ch} ?
I guess bit more changes are required to make it running before 2.6 :)

Btw, authors email in head of blkmtd.c is bad.

Fanny thing, after removing this include there is declaration :

/* readpage() - reads one page from the block device */
static int blkmtd_readpage(mtd_raw_dev_data_t *rawdevice, struct page *page)
{
  int err;
  int sectornr, sectors, i;
  struct kiobuf *iobuf;
        ^^^^^^^
  unsigned long *blocks;

Fast fgrep in kernel sources gives me no answer about this structure declaration.

any help guys ?

-- 
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 labs

- 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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:37 EST