Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: f_mass_storage: Fix the logic to iterate all common->luns
It is wrong to do --i in the for loop. Fixes: dd02ea5 ("usb: gadget: mass_storage: Use static array for luns") Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Krzysztof Opasiak <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
- Loading branch information