Re: [edk2] [Patch V4 0/2] Add Max LUN status/value checks

2017-11-19 Thread Zeng, Star
Reviewed-by: Star Zeng -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Michael D Kinney Sent: Saturday, November 18, 2017 2:19 AM To: edk2-devel@lists.01.org Cc: Dong, Eric ; Zeng, Star Subject: [edk2] [Patch V4 0/2] Add Max LUN status/value

[edk2] [Patch V4 0/2] Add Max LUN status/value checks

2017-11-17 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=767 Changes in V4 * Fix return status from UsbGetMaxLun(). Changes in V3 * Only check number of bytes transfered if Direction is not UsbNoData. Add error check to USB I/O Protocol UsbControlTransfer() for the number of bytes actually transfered. If