Re: [Qemu-devel] [PATCH 2/2 v2] usb-mtp: refactor the flow of usb_mtp_write_data

2019-03-28 Thread Bandan Das
Peter Maydell writes: > On Tue, 26 Mar 2019 at 17:58, Bandan Das wrote: >> > ... > Doesn't this mean you're no longer sending the RES_OK result > for this case ? > Ugh, I messed up this version. I will send a v3 and fix the indentation too. Thanks for noticing! Bandan >> } >>

Re: [Qemu-devel] [PATCH 2/2 v2] usb-mtp: refactor the flow of usb_mtp_write_data

2019-03-28 Thread Peter Maydell
On Tue, 26 Mar 2019 at 17:58, Bandan Das wrote: > > There's no functional change but the flow is (hopefully) > more consistent for both file and folder object types. > > Signed-off-by: Bandan Das > --- > hw/usb/dev-mtp.c | 53 > 1 file changed, 26

[Qemu-devel] [PATCH 2/2 v2] usb-mtp: refactor the flow of usb_mtp_write_data

2019-03-26 Thread Bandan Das
There's no functional change but the flow is (hopefully) more consistent for both file and folder object types. Signed-off-by: Bandan Das --- hw/usb/dev-mtp.c | 53 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/hw/usb/dev-mtp.c b