Skip to content
Snippets Groups Projects
Commit 53419bac authored by Stephen Warren's avatar Stephen Warren Committed by Marek Vasut
Browse files

usb: eth: fix memalign() parameter order


The alignment and size were swapped, leading to malloc heap corruption.

On my system, this sometimes caused U-Boot to crash during or after
certain USB Ethernet operations.

Fixes: c8c2797c ("dm: usb: eth: Support driver model with USB Ethernet")
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 7124a8c4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment