On Tue, Jun 04 2013, Andrzej Pietrasiewicz wrote:
> If cfg->product name is not set, a default name is chosen depending
> on the common->luns->cdrom flag. If the flag is set the name should
> be "File-CD Gadget", and if the flag is not set the name should be
> "File-Stor Gadget".
>
> Signed-off-by: Andrzej Pietrasiewicz <andrze...@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com>

Acked-by: Michal Nazarewicz <min...@mina86.com>

> ---
>  drivers/usb/gadget/f_mass_storage.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/f_mass_storage.c 
> b/drivers/usb/gadget/f_mass_storage.c
> index 97666e8..017898f 100644
> --- a/drivers/usb/gadget/f_mass_storage.c
> +++ b/drivers/usb/gadget/f_mass_storage.c
> @@ -2745,8 +2745,8 @@ buffhds_first_it:
>                "%-8s%-16s%04x", cfg->vendor_name ?: "Linux",
>                /* Assume product name dependent on the first LUN */
>                cfg->product_name ?: (common->luns->cdrom
> -                                  ? "File-Stor Gadget"
> -                                  : "File-CD Gadget"),
> +                                  ? "File-CD Gadget"
> +                                  : "File-Stor Gadget"),
>                i);
>  
>       /*
> -- 
> 1.7.0.4
>

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: m...@google.com>--------------ooO--(_)--Ooo--

Attachment: pgpRIazhgof7f.pgp
Description: PGP signature

Reply via email to