From: Wolfgang Denk Date: Fri, 09 Dec 2011 10:33:40 +0100 Subject: [U-Boot] [PATCH 1/2] Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c In-Reply-To: <1321417027-5639-1-git-send-email-sjg@chromium.org> References: <1321417027-5639-1-git-send-email-sjg@chromium.org> Message-ID: <20111209093340.1B0A91EFED8@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 Simon Glass, In message <1321417027-5639-1-git-send-email-sjg@chromium.org> you wrote: > Sorry if this is already fixed somewhere - I could not find it. > > This fixes these warnings: > > usb_ohci.c: In function 'submit_control_msg': > usb_ohci.c:1081: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules > usb_ohci.c:1081: note: initialized from here > usb_ohci.c:1084: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules > usb_ohci.c:1084: note: initialized from here > usb_ohci.c:1087: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules > usb_ohci.c:1087: note: initialized from here > > Signed-off-by: Simon Glass > --- > arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c | 20 ++++++++++++-------- > 1 files changed, 12 insertions(+), 8 deletions(-) Applied, thanks. Albert, Remy - hope this is OK with you. 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 If God wanted me to touch my toes, he'd have put them on my knees.