From: Wolfgang Denk Date: Fri, 18 Sep 2009 23:24:22 +0200 Subject: [U-Boot] [PATCH v2] board/flagadm/flash.c: fix compile warning In-Reply-To: <1252966161-14156-1-git-send-email-wd@denx.de> References: <4AAA96B2.7020607@freescale.com> <1252966161-14156-1-git-send-email-wd@denx.de> Message-ID: <20090918212422.BB3F5832E864@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 In message <1252966161-14156-1-git-send-email-wd@denx.de> you wrote: > Fix warning: flash.c:531: warning: dereferencing type-punned pointer > will break strict-aliasing rules > > Signed-off-by: Wolfgang Denk > Cc: K?ri Dav??sson > --- > v2: change implementation as suggested by Scott Wood in > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/67828/focus=67900 > > board/flagadm/flash.c | 12 +++++++++--- > 1 files changed, 9 insertions(+), 3 deletions(-) Applied. 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 This cultural mystique surrounding the biological function -- you realize humans are overly preoccupied with the subject. -- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9