Hello, This series fix a few bugs in mass storage function and disallows to bind function with not contiguous LUN ids. Last patch in this series fix GET_MAX_LUNS request to return actual number of luns, not the number of prealocated space. Best regards, -- Krzysztof Opasiak Samsung R&D Institute Poland Samsung Electronics Krzysztof Opasiak (5): usb: gadget: mass_storage: Free buffers if create lun fails usb: gadget: mass_storage: Enforce contiguous LUN ids usb: gadget: mass_storage: Place EXPORT_SYMBOL_GPL() after func definition usb: gadget: storage-common: Set FSG_MAX_LUNS to 16 usb: gadget: mass_storage: Send correct number of LUNs to host drivers/usb/gadget/function/f_mass_storage.c | 72 ++++++++++++++++++++------ drivers/usb/gadget/function/f_mass_storage.h | 2 +- drivers/usb/gadget/function/storage_common.h | 2 +- drivers/usb/gadget/legacy/acm_ms.c | 6 +-- drivers/usb/gadget/legacy/mass_storage.c | 6 +-- drivers/usb/gadget/legacy/multi.c | 6 +-- 6 files changed, 67 insertions(+), 27 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in