From: Clemens Ladisch Date: Fri, 18 Dec 2009 08:27:24 +0000 (+0100) Subject: sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer X-Git-Tag: v2.6.27.43~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6d77e001665a4d44ab9a70820d46a3e777dca8;p=pandora-kernel.git sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer commit 3e85fd614c7b6bb7f33bb04a0dcb5a3bfca4c0fe upstream. When allocating the PCM buffer, use vmalloc_user() instead of vmalloc(). Otherwise, it would be possible for applications to play the previous contents of the kernel memory to the speakers, or to read it directly if the buffer is exported to userspace. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed