]> git.karo-electronics.de Git - mv-sheeva.git/commit
Staging: sst: user pointers in intel_sst_mmap_play_capture()
authorDan Carpenter <error27@gmail.com>
Wed, 20 Oct 2010 06:57:34 +0000 (08:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Nov 2010 21:31:48 +0000 (13:31 -0800)
commit08da782b1a58fd63199928176909e103477c933a
treee427553b3bf83fbf9a462cb79ff9933f5b3a369a
parente9f25689a86570c30d3f101b1f9834a579bed2e5
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>
drivers/staging/intel_sst/intel_sst_app_interface.c