[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <op.vbit26d87p4s8u@pikus>
Date: Wed, 21 Apr 2010 18:43:44 +0200
From: Michał Nazarewicz <m.nazarewicz@...sung.com>
To: fabien.chouteau@...il.com, linux-usb@...r.kernel.org
Cc: Fabien Chouteau <fabien.chouteau@...co.com>,
David Brownell <dbrownell@...rs.sourceforge.net>,
Greg Kroah-Hartman <gregkh@...e.de>,
Peter Korsgaard <jacmet@...site.dk>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Mass storage gadget: Handle eject request
On Wed, 21 Apr 2010 17:38:22 +0200, <fabien.chouteau@...il.com> wrote:
> From: Fabien Chouteau <fabien.chouteau@...co.com>
>
>
> Signed-off-by: Fabien Chouteau <fabien.chouteau@...co.com>
Commit message missing, in both patches. It should contain some
details on what the patch does and how this can be used.
> @@ -2412,7 +2451,6 @@ static void fsg_disable(struct usb_function *f)
> raise_exception(fsg->common, FSG_STATE_CONFIG_CHANGE);
> }
>-
This is not important, but if you are going to resend the patch,
how about not deleting this line?
> /*-------------------------------------------------------------------------*/
> static void handle_exception(struct fsg_common *common)
> @@ -2641,7 +2679,7 @@ static int fsg_main_thread(void *common_)
> /* Write permission is checked per LUN in store_*() functions. */
> static DEVICE_ATTR(ro, 0644, fsg_show_ro, fsg_store_ro);
> static DEVICE_ATTR(file, 0644, fsg_show_file, fsg_store_file);
> -
> +static DEVICE_ATTR(ejected, 0444, fsg_show_ejected, NULL);
Same here.
Otherwise, both patches look fine to me.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał "mina86" Nazarewicz (o o)
ooo +---[mina86@...a86.com]---[mina86@...ber.org]---ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists