|
From: Kristian V. D. V. <va...@li...> - 2004-10-11 18:50:22
|
On Saturday 09 October 2004 12:56 am, Jake Hamby wrote: > The first set is an upgrade of the assembly macros in > include/atheos/string.h to the versions in Linux 2.6.8. Quick summary > of the changes I merged: Applied. > The second patch is to kernel/lib/vsprintf.c and fixes a GCC warning > that va_arg functions can't pass floats (they are promoted to double) or > short int (promoted to int). I fixed the "%hd" code based on the Linux > version and commented out the "%f" handling altogether as the kernel > really should be avoiding floating point usage. I couldn't find any > instance of "%f" being used anywhere, and the exact same effect can be > achieved by casting to int and using %d. Neither Linux 2.4.26 nor Linux > 2.6.8 support "%f" in vsprintf. Applied. Thanks Jack. -- Vanders http://syllable.sourceforge.net/ http://www.liqwyd.com |