From: Mike Frysinger Date: Tue, 15 Nov 2011 18:01:15 -0500 Subject: [U-Boot] [PATCH 02/19] usbdev.c: Fix GCC 4.6 build warnings In-Reply-To: <1321380112-6210-1-git-send-email-sr@denx.de> References: <1321380112-6210-1-git-send-email-sr@denx.de> Message-ID: <201111151801.16723.vapier@gentoo.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 Tuesday 15 November 2011 13:01:52 Stefan Roese wrote: > --- a/arch/powerpc/cpu/ppc4xx/usbdev.c > +++ b/arch/powerpc/cpu/ppc4xx/usbdev.c > > - int temp, temp1; > ... > /*copy packet */ > setup_packet_pt[0] = *(unsigned int *)USB2D0_FIFO_0; > setup_packet_pt[1] = *(unsigned int *)USB2D0_FIFO_0; > - temp = *(unsigned int *)USB2D0_FIFO_0; > - temp1 = *(unsigned int *)USB2D0_FIFO_0; this seems to be treading into possible ugly volatile area ... perhaps best if this was acked/tested by someone with actual hardware first ... -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111115/d4832240/attachment.pgp