]> git.sur5r.net Git - u-boot/commit
usb: ehci: Fix aliasing issue in EHCI interrupt code
authorVincent Palatin <vpalatin@chromium.org>
Wed, 6 Mar 2013 14:08:32 +0000 (14:08 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 18 Mar 2013 17:58:54 +0000 (18:58 +0100)
commit61755c7908be54a8221280cc801e65bc9d91dfad
tree3b0e0b294377daa42a30b74acdf35e70481f8746
parent8f62ca646fbad26b17f832cc3c2579080247de6e
usb: ehci: Fix aliasing issue in EHCI interrupt code

The interrupt endpoint handling code stores the buffer pointer in the QH
padding field. We need to make it the size of a pointer to avoid strict
aliasing issue with the compiler.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci.h