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: NAxel Lin <axel.lin@ingics.com> Reviewed-by: NKrzysztof Opasiak <k.opasiak@samsung.com> Acked-by: NMichal Nazarewicz <mina86@mina86.com> Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
Showing
想要评论请 注册 或 登录