[U-Boot] [PATCH v2 20/32] dm: usb: Avoid exceeding available array size for storage devices
Marek Vasut
marex at denx.de
Tue Mar 1 00:00:43 CET 2016
On 02/29/2016 11:25 PM, Simon Glass wrote:
> The limit on storage devices is USB_MAX_STOR_DEV but we use one extra
> element while probing to see if a device is a storage device. Avoid this,
> since it causes memory corruption.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
Reviewed-by: Marek Vasut <marex at denx.de>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list