2002-12-24 19:08:53

by Frank Davis

[permalink] [raw]
Subject: 2.5.53 : drivers/mtd/devices/blkmtd.c

Hello all,
While 'make modules', I received the following error.
Regards,
Frank

drivers/mtd/devices/blkmtd.c:52:25: linux/iobuf.h: No such file or directory
drivers/mtd/devices/blkmtd.c: In function `blkmtd_readpage':
drivers/mtd/devices/blkmtd.c:218: warning: implicit declaration of function `alloc_kiovec'
drivers/mtd/devices/blkmtd.c:235: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:238: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:239: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:240: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:241: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:242: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:264: warning: implicit declaration of function `brw_kiovec'
drivers/mtd/devices/blkmtd.c:266: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:267: warning: implicit declaration of function `free_kiovec'
drivers/mtd/devices/blkmtd.c:168: warning: `blocks' might be used uninitialized in this function
drivers/mtd/devices/blkmtd.c: In function `write_queue_task':
drivers/mtd/devices/blkmtd.c:327: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:355: `KIO_MAX_SECTORS' undeclared (first use in this function)
drivers/mtd/devices/blkmtd.c:355: (Each undeclared identifier is reported only once
drivers/mtd/devices/blkmtd.c:355: for each function it appears in.)
drivers/mtd/devices/blkmtd.c:373: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:374: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:386: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:388: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:396: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:397: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:411: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:302: warning: `blocks' might be used uninitialized in this function
make[3]: *** [drivers/mtd/devices/blkmtd.o] Error 1
make[2]: *** [drivers/mtd/devices] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2