[U-Boot-Users] [PATCH] lba48 support & 64bit vsprintf

Wolfgang Denk wd at denx.de
Sun Mar 14 00:25:45 CET 2004


In message <DCEAAC0833DD314AB0B58112AD99B93B06DA7C at ismail.innsys.innovsys.com> you wrote:
> 
> Added some CONFIG and CFG variables to for LBA48 support and for 64bit
> printing.
> Now you can use LBA48 and not use 64bit in vsprintf.
> LBA48 now works without 64bit.

Please do not use C++ comments in C code.
Please do not add trailing white space.
Please use the required indentation style (1TBS).
Your patches are inconsistent (they overlap in include/common.h)

Your "long long" vsprintf is non-standard  and  I  thus  consider  it
broken. You use a 'L' length modifier for long long, but the standard
requires  'll'  instead  ('L' stands for long double). If you need to
stick with a single character length modifier please  let's  use  'q'
instead  (I  changed  your code this way - please ACK that this is OK
with you).


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
1000 pains                                              = 1 Megahertz




More information about the U-Boot mailing list