<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/emul, branch v2023.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/emul?h=v2023.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/emul?h=v2023.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-11-22T22:13:35Z</updated>
<entry>
<title>sandbox: check lseek return value in handle_ufi_command</title>
<updated>2022-11-22T22:13:35Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2022-11-10T07:40:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b3a680a47abfdd5fa4086bab53891f3a4e798d74'/>
<id>urn:sha1:b3a680a47abfdd5fa4086bab53891f3a4e798d74</id>
<content type='text'>
Invoking lseek() may result in an error. Handle it.

Addresses-Coverity-ID: 376212 ("Error handling issues  (CHECKED_RETURN)")
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>usb: Update the test to cover reading and writing</title>
<updated>2022-10-31T15:02:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-10-21T00:22:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ff3db3a1c5ef128a4f33c22d7be8ee37fca3613'/>
<id>urn:sha1:2ff3db3a1c5ef128a4f33c22d7be8ee37fca3613</id>
<content type='text'>
Add test coverage for blk_write() as well.

The blk_erase() is not tested for now as the USB stor interface does not
support erase.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Move request-handling code to scsi_emul</title>
<updated>2022-09-25T19:59:38Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02cea1145a5ad49e400bd100b907ad763db16863'/>
<id>urn:sha1:02cea1145a5ad49e400bd100b907ad763db16863</id>
<content type='text'>
Move this code into the emulator file so it can be used by multiple
drivers.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Move structs to header file</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1ac42900d8de7a8989a76f2b69e6ae46784476b1'/>
<id>urn:sha1:1ac42900d8de7a8989a76f2b69e6ae46784476b1</id>
<content type='text'>
Move these to the SCSI header file so we can access them from multiple
emulators.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Remove setup calls from handle_read()</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e074df4d23516597ce65d5056614073cc4e6bfc8'/>
<id>urn:sha1:e074df4d23516597ce65d5056614073cc4e6bfc8</id>
<content type='text'>
Move the device-specific code out into the top-level function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Move reply setup out of helper</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f75b6f76a484b24a346a1cd46a7e2553383a583d'/>
<id>urn:sha1:f75b6f76a484b24a346a1cd46a7e2553383a583d</id>
<content type='text'>
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 &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Move file size into shared struct</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f148ad1b5fb14a3295ced502647de5be69e46100'/>
<id>urn:sha1:f148ad1b5fb14a3295ced502647de5be69e46100</id>
<content type='text'>
Move this information into struct scsi_emul_info so we can use it in
common code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: scsi: Move block size into shared struct</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a3718f1e536c564610f23298e2c0540877ef30f8'/>
<id>urn:sha1:a3718f1e536c564610f23298e2c0540877ef30f8</id>
<content type='text'>
Move this information into struct scsi_emul_info so we can use it in
common code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>scsi: Move vendor/product info into the shared struct</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c12d9dd23a3bce38170db2bab0cc326def6a1db'/>
<id>urn:sha1:0c12d9dd23a3bce38170db2bab0cc326def6a1db</id>
<content type='text'>
Move this information into struct scsi_emul_info so we can use it in
common code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Move buffer to scsi_emul_info</title>
<updated>2022-09-25T14:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-09-21T14:21:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc7a7ed3a6cd9ea03400e1356768e646ff00b043'/>
<id>urn:sha1:fc7a7ed3a6cd9ea03400e1356768e646ff00b043</id>
<content type='text'>
Move the buffer into this struct so it can be shared between different
implementations.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
