From: Wolfgang Denk Date: Mon, 04 Feb 2013 21:48:26 +0100 Subject: [U-Boot] [PATCH 0/5] Create an API for safely accessing BMP header fields In-Reply-To: <20130204162528.2602782a@lilith> References: <1359977979-28585-1-git-send-email-nikita@compulab.co.il> <20130204125734.228623e8@lilith> <510FAB72.3050901@compulab.co.il> <20130204151956.0c0e8486@lilith> <510FCE99.3000901@compulab.co.il> <20130204162528.2602782a@lilith> Message-ID: <20130204204826.578A3200113@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <20130204162528.2602782a@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