]> git.sur5r.net Git - u-boot/commit
dm: usb: Fix type problems in usb_stor_get_info()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:12 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:22 +0000 (11:11 -0600)
commit1d5827a12ebd20d64b972111b846cb1ca87ff82e
treea32180a581d8d5103ec390ab88d90c72d05de96e
parent2e17c87ebb4cb46c51e7d893705b69b95ee05cab
dm: usb: Fix type problems in usb_stor_get_info()

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@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb_storage.c