commit | 08da782b1a58fd63199928176909e103477c933a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Oct 20 08:57:34 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 09 13:31:48 2010 -0800 |
tree | e427553b3bf83fbf9a462cb79ff9933f5b3a369a | |
parent | e9f25689a86570c30d3f101b1f9834a579bed2e5 [diff] |
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 <error27@gmail.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>