]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:54 +0000 (21:47 +0200)
commit6afe9869850f9ed9f25dc4f7a3f83c94be17c247
tree0ef68dc26e0b0302b3940a9ce0ad0744e7b0b70d
parent737876d3eb4bb8d11fa01f3e71db5fd9267424fb
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