From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 8 Jan 2012 04:32:27 -0500 Subject: [U-Boot] [PATCH 1/9] usb: Fix strict-aliasing warning in host/ohci-hcd.c In-Reply-To: <1325822097-15227-2-git-send-email-sjg@chromium.org> References: <1325822097-15227-1-git-send-email-sjg@chromium.org> <1325822097-15227-2-git-send-email-sjg@chromium.org> Message-ID: <201201080432.28463.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 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: