]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: scsi: Move reply setup out of helper
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2022 14:21:41 +0000 (16:21 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2022 14:30:05 +0000 (08:30 -0600)
commitf75b6f76a484b24a346a1cd46a7e2553383a583d
treeb83647497009c46271099b75b13c671c018f2e35
parentf148ad1b5fb14a3295ced502647de5be69e46100
sandbox: scsi: Move reply setup out of helper

Move this code out of the helper function so we can (later) add it as part
of the shared emulation code. Set a default value of 0 for buff_used since
that is what we use when there is an error.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_flash.c