2.1.47, ppa.c

Myles Uyema (myles@uyema.nws.net)
Thu, 24 Jul 1997 13:04:22 -1000


I chose to compile parport support as a module.
During, compilation, ppa.c complains with a whole slew of
warnings, and eventually an error.

ppa.c: In function ppa_wakeup':
ppa.c:221: warning: passing arg 1 of parport_claim' from incompatible
pointer type
ppa.c: In function ppa_release':
ppa.c:233: warning: passing arg 1 of parport_unregister_device' from
incompatible pointer type
ppa.c: In function ppa_pb_claim':
ppa.c:239: warning: passing arg 1 of parport_claim' from incompatible
pointer type
ppa.c:244: dereferencing pointer to incomplete type
ppa.c: In function ppa_pb_release':
ppa.c:255: warning: passing arg 1 of parport_release' from incompatible
pointer type
ppa.c:727: dereferencing pointer to incomplete type
ppa.c:1175: warning: passing arg 1 of parport_unregister_device' from
incompatible pointer type
ppa.c: In function ppa_proc_write':
ppa.c:1235: warning: comparison between signed and unsigned
ppa.c:1243: warning: comparison between signed and unsigned
ppa.c: In function ppa_proc_info':
ppa.c:1287: dereferencing pointer to incomplete type
make[2]: *** [ppa.o] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

There are probably hundreds of the "dereferencing pointer" warning.
This is after I changed PARPORT_MODE_SPP (and others) to PARPORT_MODE_PCSPP

-- 
Myles Uyema
myles@uyema.nws.net