[U-Boot] [PATCH 0/5] Create an API for safely accessing BMP header fields

Wolfgang Denk wd at denx.de
Mon Feb 4 21:48:26 CET 2013


Dear Albert ARIBAUD,

In message <20130204162528.2602782a at lilith> you wrote:
> 
> Yes; but it is only a matter of getting the properly aligned address
> from the non-aligned one, which a simple macro is enough to provide; the

We should not even do this.  If the user supplies address foo, he
probably means it.  I seriously dislike code that "tries to be clever"
and does not allow me to do what I want it to do.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hegel was right when he said that we learn from history that man  can
never learn anything from history.              - George Bernard Shaw


More information about the U-Boot mailing list