commit | dfdfe6fb2f94836d2081709fd50dd009f4229e8d | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Fri Feb 12 13:56:01 2016 -0700 |
committer | Marek Vasut <marex@denx.de> | Wed Feb 24 19:12:33 2016 +0100 |
tree | d5f8c552ae076325b05111eb801f627384d1cc9f | |
parent | 766a5fb3ee7f514f280090421bf845f57bd18e2d [diff] |
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: c8c2797c3810 ("dm: usb: eth: Support driver model with USB Ethernet") Signed-off-by: Stephen Warren <swarren@nvidia.com>