From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Lo=EFc?= Minier Date: Mon, 3 Jan 2011 18:03:08 +0100 Subject: [U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data) In-Reply-To: <20110103165146.395B0CEF7A6@gemini.denx.de> References: <1294069652-9114-1-git-send-email-loic.minier@linaro.org> <20110103165146.395B0CEF7A6@gemini.denx.de> Message-ID: <20110103170308.GC10571@bee.dooz.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@bee.dooz.org> which one was the preferred approach, but didn't get comments on this particular point; see <20110103170050.GB10571@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