linux/drivers/usb/gadget/function
Axel Lin bee9186943 usb: gadget: f_mass_storage: Fix the logic to iterate all common->luns
It is wrong to do --i in the for loop.

Fixes: dd02ea5a33 ("usb: gadget: mass_storage: Use static array for luns")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-07-17 11:00:06 +03:00
..
f_acm.c
f_ecm.c
f_eem.c
f_fs.c usb: changes for v4.13 merge window 2017-06-20 11:39:34 +08:00
f_hid.c
f_loopback.c
f_mass_storage.c usb: gadget: f_mass_storage: Fix the logic to iterate all common->luns 2017-07-17 11:00:06 +03:00
f_mass_storage.h
f_midi.c
f_ncm.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
f_obex.c
f_phonet.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
f_printer.c
f_rndis.c
f_serial.c
f_sourcesink.c
f_subset.c
f_tcm.c
f_uac1_legacy.c usb: gadget: function: make current f_uac1 implementation legacy 2017-06-19 09:22:47 +03:00
f_uac1.c usb: gadget: add f_uac1 variant based on a new u_audio api 2017-06-19 09:22:47 +03:00
f_uac2.c usb: gadget: f_uac2: split out audio core 2017-06-19 09:22:46 +03:00
f_uvc.c
f_uvc.h
g_zero.h
Makefile usb: gadget: add f_uac1 variant based on a new u_audio api 2017-06-19 09:22:47 +03:00
ndis.h
rndis.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rndis.h
storage_common.c
storage_common.h USB: f_mass_storage: improve memory barriers and synchronization 2017-05-16 10:38:33 +03:00
tcm.h
u_audio.c usb: gadget: f_uac2: split out audio core 2017-06-19 09:22:46 +03:00
u_audio.h usb: gadget: f_uac2: split out audio core 2017-06-19 09:22:46 +03:00
u_ecm.h
u_eem.h
u_ether_configfs.h
u_ether.c
u_ether.h
u_fs.h usb: gadget: function: f_fs: Move epfile waitqueue to ffs_data. 2017-06-02 11:22:31 +03:00
u_gether.h
u_hid.h
u_midi.h
u_ncm.h
u_phonet.h
u_printer.h
u_rndis.h
u_serial.c usb: gadget: gserial: check if console kthread exists 2017-05-16 14:11:04 +03:00
u_serial.h
u_tcm.h
u_uac1_legacy.c sound updates for 4.13-rc1 2017-07-06 10:56:51 -07:00
u_uac1_legacy.h usb: gadget: function: make current f_uac1 implementation legacy 2017-06-19 09:22:47 +03:00
u_uac1.h usb: gadget: add f_uac1 variant based on a new u_audio api 2017-06-19 09:22:47 +03:00
u_uac2.h
u_uvc.h
uvc_configfs.c
uvc_configfs.h
uvc_queue.c
uvc_queue.h
uvc_v4l2.c
uvc_v4l2.h
uvc_video.c
uvc_video.h
uvc.h