From: Wolfgang Denk Date: Mon, 30 Jul 2012 09:45:17 +0200 Subject: [U-Boot] [PATCH V2] dm: ppc: Fixup cpu.c warning in mpc8xx In-Reply-To: <1343429832-24194-1-git-send-email-marex@denx.de> References: <1343419212-18716-1-git-send-email-marex@denx.de> <1343429832-24194-1-git-send-email-marex@denx.de> Message-ID: <20120730074517.6979D200332@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 Marek Vasut, In message <1343429832-24194-1-git-send-email-marex@denx.de> you wrote: > cpu.c: In function ?check_CPU?: > cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > arch/powerpc/cpu/mpc8xx/cpu.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > NOTE: This patch is likely to break something, it is only compile tested. > NOTE2: Something is seriously wrong with my damned locale again :-/ Tested on TQM855MDCBAB7-T66.102 (MPC855T at 66 MHz) and TQM860LDB0A3-T50.202 (MPC860T at 50MHz). Tested-by: Wolfgang Denk Acked-by: Wolfgang Denk 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 "Wish not to seem, but to be, the best." - Aeschylus