From: Dan Carpenter Date: Wed, 20 Oct 2010 06:57:34 +0000 (+0200) Subject: Staging: sst: user pointers in intel_sst_mmap_play_capture() X-Git-Tag: v2.6.37-rc2~22^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08da782b1a58fd63199928176909e103477c933a;p=pandora-kernel.git Staging: sst: user pointers in intel_sst_mmap_play_capture() There were some places in intel_sst_mmap_play_capture() that dereferenced user pointers instead of copying the data to the kernel. I removed the BUG_ON(!mmap_buf) and BUG_ON(!buf_entry) since those are never possible in the current code. Signed-off-by: Dan Carpenter Cc: Vinod Koul Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed