[U-Boot-Users] [PATCH 02/17] examples/eepro100_eeprom: Fix memcpy to return destination pointer

Markus Klotzbücher mk at denx.de
Mon May 19 09:51:20 CEST 2008


Jerry Van Baren <gvb.uboot at gmail.com> writes:

> YES! YES! YES!  This gets my vote.  I marked the start of this thread 
> meaning to suggest using temp variables of the right type and get rid of 
> the complex casting crap, exactly what you did here.

Ack, but BTW ....

...whats wrong with the generic memcpy, e.g. from lib_generic/string.c?
Maybe this should be exported and used instead of duplicating generic
code again and again?

Best regards

Markus Klotzbuecher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de




More information about the U-Boot mailing list