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

2023-04-26 Thread Tom Rini
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. > > Sign

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

2023-04-05 Thread Marek Vasut
On 4/6/23 01:48, 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 --- I'm honestl

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

2023-04-05 Thread Tom Rini
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 --- I'm honestly not sure why gcc isn't complainin