From: Michal Nazarewicz Date: Wed, 28 Oct 2009 15:57:21 +0000 (+0100) Subject: USB: g_mass_storage: constant length buffers used X-Git-Tag: v2.6.33-rc1~315^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=606206c271722d613b99c737ce150f58f4485f41;p=pandora-kernel.git USB: g_mass_storage: constant length buffers used Using version of fsg_buffhd structure with buf field being an array of characters with predefined size. Since mass storage function does not define changing buffer size on run-time it is not required for the field to be a pointer to void and allocating space dynamically. Signed-off-by: Michal Nazarewicz Cc: David Brownell Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed