On Thu, 22 Jul 2010, Michal Nazarewicz wrote: > Moved the serial parameter handling code out of "#ifdef > CONFIG_USB_FILE_STORAGE_TEST". > > This modifies Yann Cantin's commit "USB: Add a serial number > parameter to g_file_storage" module as per Alan Stern's request. > > Signed-off-by: Michal Nazarewicz <m.nazarewicz@xxxxxxxxxxx> > Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > Cc: Yann Cantin <yann.cantin@xxxxxxxxxxx> > --- > Alan Stern wrote: > > I have only one objection to this [Yann Cantin's] patch: The new > > parameter's name should be "serial", not "serial_parm". > > Alan Stern wrote: > > The serial number parameter is important enough that it should be > > available even on builds without CONFIG_USB_FILE_STORAGE_TEST. > > drivers/usb/gadget/file_storage.c | 20 +++++++++++--------- > 1 files changed, 11 insertions(+), 9 deletions(-) Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html