From: Alan Stern Date: Fri, 3 Sep 2010 15:15:41 +0000 (-0400) Subject: USB: g_file_storage: don't generate automatic serial string X-Git-Tag: v2.6.37-rc1~154^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8087427ccefc0b3364735b96274375246fd452c;p=pandora-kernel.git USB: g_file_storage: don't generate automatic serial string This patch (as1413) changes g_file_storage to avoid generating a bogus automatic serial-number string descriptor. If the user doesn't provide a valid serial number via a module parameter then a warning is logged and the gadget won't have any serial string descriptor at all. Signed-off-by: Alan Stern Acked-by: David Brownell CC: Michal Nazarewicz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed