[U-Boot] [PATCH v2 24/80] dm: usb: Fix type problems in usb_stor_get_info()

Simon Glass sjg at chromium.org
Tue Apr 7 20:42:13 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at chromium.org> wrote:
> This function assumes that unsigned long is 32-bits wide, but it is not
> on 64-bit machines. Use the correct type, and add a few debug() lines also.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/usb_storage.c | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list