From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com ([74.125.82.52]:35933 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbbFVOcN convert rfc822-to-8bit (ORCPT ); Mon, 22 Jun 2015 10:32:13 -0400 Received: by wguu7 with SMTP id u7so71069018wgu.3 for ; Mon, 22 Jun 2015 07:32:12 -0700 (PDT) From: Michal Nazarewicz To: Krzysztof Opasiak , balbi@ti.com Cc: stable@vger.kernel.org, david.fisher1@synopsys.com, gregkh@linuxfoundation.org, andrzej.p@samsung.com, m.szyprowski@samsung.com, linux-usb@vger.kernel.org, Krzysztof Opasiak Subject: Re: [PATCH 4/5] usb: gadget: storage-common: Set FSG_MAX_LUNS to 16 In-Reply-To: <1434979163-5942-5-git-send-email-k.opasiak@samsung.com> References: <1434979163-5942-1-git-send-email-k.opasiak@samsung.com> <1434979163-5942-5-git-send-email-k.opasiak@samsung.com> Date: Mon, 22 Jun 2015 16:32:10 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jun 22 2015, Krzysztof Opasiak wrote: > Mass storage spec allows up to 16 LUNs, so let's don't > add some more restrictive limits. > > Signed-off-by: Krzysztof Opasiak Acked-by: Michal Nazarewicz > --- > drivers/usb/gadget/function/storage_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/gadget/function/storage_common.h b/drivers/usb/gadget/function/storage_common.h > index 70c8914..c3544e6 100644 > --- a/drivers/usb/gadget/function/storage_common.h > +++ b/drivers/usb/gadget/function/storage_common.h > @@ -123,7 +123,7 @@ static inline bool fsg_lun_is_open(struct fsg_lun *curlun) > #define FSG_BUFLEN ((u32)16384) > > /* Maximal number of LUNs supported in mass storage function */ > -#define FSG_MAX_LUNS 8 > +#define FSG_MAX_LUNS 16 > > enum fsg_buffer_state { > BUF_STATE_EMPTY = 0, > -- > 1.7.9.5 > -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +------ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe stable" in