[U-Boot] [PATCH 02/19] usbdev.c: Fix GCC 4.6 build warnings

Mike Frysinger vapier at gentoo.org
Wed Nov 16 00:01:15 CET 2011


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 


More information about the U-Boot mailing list