<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/emul, branch v2024.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=v2024.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/emul?h=v2024.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-04-28T17:30:17Z</updated>
<entry>
<title>sandbox: fix sandbox_hub_submit_control_msg()</title>
<updated>2023-04-28T17:30:17Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2023-04-01T06:57:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=42175a70d1e85bf0e7949b3e27633fac0aa8d4b1'/>
<id>urn:sha1:42175a70d1e85bf0e7949b3e27633fac0aa8d4b1</id>
<content type='text'>
Avoid incorrect fall through:
A USB_RT_HUB request should not be treated as USB_RT_PORT.

Simplify the coding:
Avoid duplicate debug() statements.

This fixes all -Wimplicit-fallthrough warnings.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: fix fall through in sandbox_flash_bulk()</title>
<updated>2023-04-28T17:30:17Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2023-04-01T06:24:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=159d6bf720a663b22f291dfbba337392a771d59a'/>
<id>urn:sha1:159d6bf720a663b22f291dfbba337392a771d59a</id>
<content type='text'>
Handling of SANDBOX_FLASH_EP_OUT should never fall through to
SANDBOX_FLASH_EP_IN.

This addresses a warning shown when compiling with
-Wimplicit-fallthrough.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<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>
</feed>
