[PATCH 7/9] usb: gadget: f_mass_storage: Rework do_request_sense slightly

Tom Rini trini at konsulko.com
Wed Apr 26 14:31:27 CEST 2023


On Wed, Apr 05, 2023 at 07:48:57PM -0400, Tom Rini wrote:

> When building with clang, it notes that sdinfo may be unused
> uninitialized in some cases. This appears to be true from reading the
> code, and we can simply set the variable to zero to start with and be as
> correct as before.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Marek Vasut <marex at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230426/a5ae9bb8/attachment.sig>


More information about the U-Boot mailing list