[U-Boot] [PATCH] display_buffer: fix misaligned buffer

Detlev Zundel dzu at denx.de
Mon Aug 30 18:47:25 CEST 2010


Hi Reinhard,

> Detlev Zundel schrieb:
>
>>> Detlev, regarding the discussion I would only point out that we have to
>>> be sure that such kind of patch will be merged in the current release.
>>> It would be a real pity if a new official realease is published and then
>>> even a simple "md" command does not work on ARM.
>> 
>> I don't see a problem here.  All proposed patches (with/without
>> attribute and union) surely fix a bug, so they will go into mainline
>> when consent is reached on which one to use.  This should well happen
>> before the pending release on September 12th[1].
>> 
>> Am I misunderstanding anything here?
>
> No... but I would require that the "union" approach would be wanted,
> BEFORE I put effort into doing it.

I'd very much appreciate your effort as I want the solution now that you
did whet my appetite.

Thanks
  Detlev

-- 
The fact is, volatile on data structures is a bug. It's a wart in the C 
language. It shouldn't be used.
                                   -- Linus Torvalds 
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list