[U-Boot] [PATCH 1/9] usb: Fix strict-aliasing warning in host/ohci-hcd.c
Mike Frysinger
vapier at gentoo.org
Sun Jan 8 10:32:27 CET 2012
On Thursday 05 January 2012 22:54:49 Simon Glass wrote:
> len = min_t(int, len, leni);
> - if (data != databuf.ptr)
> - memcpy(data, databuf.ptr, len);
> + if (dataptr)
> + memcpy(data, dataptr, len);
> + else
> + memcpy(data, &databuf, len);
this doesn't seem to be equivalent ?
-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/20120108/4f780a19/attachment.pgp>
More information about the U-Boot
mailing list