Re: [PATCH 2/5] usb: gadget: mass_storage: Enforce contiguous LUN ids

2015-06-24 Thread Krzysztof Opasiak
On 06/22/2015 04:45 PM, Alan Stern wrote: On Mon, 22 Jun 2015, Michal Nazarewicz wrote: On Mon, Jun 22 2015, Krzysztof Opasiak wrote: According to mass storage specification: Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh)

Re: [PATCH 2/5] usb: gadget: mass_storage: Enforce contiguous LUN ids

2015-06-22 Thread Alan Stern
On Mon, 22 Jun 2015, Michal Nazarewicz wrote: On Mon, Jun 22 2015, Krzysztof Opasiak wrote: According to mass storage specification: Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh) So don't allow to bind ms function

[PATCH 2/5] usb: gadget: mass_storage: Enforce contiguous LUN ids

2015-06-22 Thread Krzysztof Opasiak
According to mass storage specification: Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh) So don't allow to bind ms function unless we have at least LUN0 and LUNs ids are contiguous. Signed-off-by: Krzysztof Opasiak

Re: [PATCH 2/5] usb: gadget: mass_storage: Enforce contiguous LUN ids

2015-06-22 Thread Michal Nazarewicz
On Mon, Jun 22 2015, Krzysztof Opasiak wrote: According to mass storage specification: Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh) So don't allow to bind ms function unless we have at least LUN0 and LUNs ids are