Created attachment 15168 [details] [review] 0001-Compile-warning-fixes.patch Ansify functions in AsmMacros.h. These are used only in this driver so there should not exist any problems, but the functions receive char/short arguments. Declare as static some functions from the utility programs to avoid warning about missing prototypes. Include <unistd.h> for usleep prototype. Don't declare some unused variables, or move them to the appropriate ifdef.
This patch attempted to correct some somewhat funny code like: static inline unsigned int foo(a, b) short a; char b; { bar((short)a, (char)b); } declared in a header file. Maybe the proper patch would be to actually promote types when doing the ansification, so that it should be binary compatible, but should work either way. Anyway, it is not really a bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.