summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2015-06-19 21:56:34 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-07-06 17:34:08 (GMT)
commit8515bac01a983d277148e4fcc5f235bf603de577 (patch)
tree55abb371941f179e3abb3147d6949478b9fe229a /drivers/misc
parent43cacb03aabe62158d8e5da876054c7d48fc9963 (diff)
downloadlinux-8515bac01a983d277148e4fcc5f235bf603de577.tar.xz
usb: f_mass_storage: limit number of reported LUNs
Mass storage function created via configfs always reports eight LUNs to the hosts even if only one LUN has been configured. Adjust the number when the USB function is allocated based on LUNs that user has created. Cc: <stable@vger.kernel.org> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions