Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bee91869 authored by Axel Lin's avatar Axel Lin Committed by Felipe Balbi
Browse files

usb: gadget: f_mass_storage: Fix the logic to iterate all common->luns



It is wrong to do --i in the for loop.

Fixes: dd02ea5a ("usb: gadget: mass_storage: Use static array for luns")
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarKrzysztof Opasiak <k.opasiak@samsung.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent ee249b45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment