Parallel IDE bugs

NTFlander (ntf@DISLESSICI.ORG)
Sun, 12 Sep 1999 22:30:04 +0200 (CEST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1463811584-665828684-937168204=:413
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi at all,

[sorry I'm not a kernel hacker and this is my first posting on this
mailing list.]

I have discovered a bug in file <KERNEL_DIR>/drivers/block/paride/paride.h

FrollinoResearch:/home/ntf/download/linux# make modules>/dev/null
In file included from paride.c:37:
paride.h:49: parse error before `wait_queue_head_t'
paride.h:49: warning: no semicolon at end of struct or union
paride.h:54: parse error before `}'
paride.c: In function `pi_write_regr':
paride.c:52: dereferencing pointer to incomplete type

[SNIP.....]

paride.c:392: dereferencing pointer to incomplete type
make[3]: *** [paride.o] Error 1
make[2]: *** [_modinsubdir_paride] Error 2
make[1]: *** [_modsubdir_block] Error 2
make: *** [_mod_drivers] Error 2

Solution is add to file:

<KERNEL_DIR>/drivers/block/paride/paride.h
or to file:
<KERNEL_DIR>/drivers/block/paride/paride.c

the header <KERNEL_DIR>/include/linux/wait.h

That contain definition of structure `wait_queue_head_t'

I'm not sure that function, but i haven't see problems in compilation.

Thanks to <ganz@keycomm.it> that have found a right header file with the
definition of the structure.

Ciao,
Emanuele

--
Hi Echelon!, none of your business.
ntf@ircnet/ircity   --  ntf@DISLESSICI.ORG   -  DISLESSICI CREW  -
The punk is not sad --  www.antifork.org/ntf - ANTIFORK RESEARCH -

Key fingerprint = 5BE2 14E1 A532 680F 57AB E828 BBF6 92CB BC4C 81A9

---1463811584-665828684-937168204=:413 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="paride.c.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.10.9909122230040.413@FrollinoResearch.r00t.org> Content-Description: Content-Disposition: attachment; filename="paride.c.patch"

LS0tIHBhcmlkZS5jLm9yaWdpbglTdW4gU2VwIDEyIDIyOjI2OjQ4IDE5OTkN CisrKyBwYXJpZGUuYwlTdW4gU2VwIDEyIDIyOjIwOjQ2IDE5OTkNCkBAIC0y NSw2ICsyNSw3IEBADQogI2luY2x1ZGUgPGxpbnV4L2lvcG9ydC5oPg0KICNp bmNsdWRlIDxsaW51eC9zdHJpbmcuaD4NCiAjaW5jbHVkZSA8bGludXgvc3Bp bmxvY2suaD4NCisjaW5jbHVkZSA8bGludXgvd2FpdC5oPg0KIA0KIA0KICNp ZmRlZiBDT05GSUdfUEFSUE9SVF9NT0RVTEUNCg== ---1463811584-665828684-937168204=:413--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/