I just applied the -irda5 patches, and I get the following compilation
warnings: 

gcc -D__KERNEL__ -I/usr/src/linux-2.2.13/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE   -c -o irttp.o 
irttp.c
irttp.c: In function `irttp_proc_read':
irttp.c:1516: warning: int format, long int arg (arg 3)
irttp.c:1518: warning: int format, long int arg (arg 3)

gcc -D__KERNEL__ -I/usr/src/linux-2.2.13/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE   -c -o 
af_irda.o af_irda.c
af_irda.c: In function `irda_accept':
af_irda.c:516: warning: unused variable `err'

gcc -D__KERNEL__ -I/usr/src/linux-2.2.13/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe 
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=586 -DMODULE   -c -o parameters.o
parameters.c
parameters.c: In function `irda_param_pack':
parameters.c:371: warning: `src' might be used uninitialized in this function
parameters.c:372: warning: `s' might be used uninitialized in this function

These last two warnings are just a side-effect of strcpy() and
strlen() being defined as inline functions, so they are not a problem.

The others are just warnings -- maybe they merit some cleanup, but
it's not terribly urgent!

Now, off to see if the thing actually runs.

/ji

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to