Skip to content
Commit 61755c79 authored by Vincent Palatin's avatar Vincent Palatin Committed by Marek Vasut
Browse files

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: default avatarVincent Palatin <vpalatin@chromium.org>

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 8f62ca64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment