diff options
author | Jie Yang <yang.jie@intel.com> | 2015-01-07 15:07:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-07 18:32:19 +0100 |
commit | f81677b4d1acc0e7cd74a43bfd9900d9512b90ae (patch) | |
tree | 14c2e50b3e7cbda84e929cde8502506405a7a882 /mm/rmap.c | |
parent | ASoC: Intel: Don't change offset of block allocator during fixed allocate (diff) | |
download | linux-f81677b4d1acc0e7cd74a43bfd9900d9512b90ae.tar.xz linux-f81677b4d1acc0e7cd74a43bfd9900d9512b90ae.zip |
ASoC: Intel: Add NULL checks for the stream pointer
We should not send IPC stream commands to FW when the stream is
NULL, dereference the NULL pointer may also occur without precheck.
Here add NULL pointer checks for these stream APIs.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions