[U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

Loïc Minier lool at dooz.org
Mon Jan 3 18:03:08 CET 2011


On Mon, Jan 03, 2011, Wolfgang Denk wrote:
> Um... I do not like this change; the resulting code is harder to read.

 I don't mind either way; I had asked
 <20101220111358.GA28532 at bee.dooz.org> which one was the preferred
 approach, but didn't get comments on this particular point; see
 <20110103170050.GB10571 at bee.dooz.org> for the rationale for picking
 this option rather than the other one.

 I've sent a second patch to also define struct global_data; feel free
 to cherry pick any of the two patches or both

   Thanks!
-- 
Loïc Minier


More information about the U-Boot mailing list