diff options
| author | Deepak Kumar <dkumar@codeaurora.org> | 2016-06-07 15:32:15 +0530 |
|---|---|---|
| committer | Carter Cooper <ccooper@codeaurora.org> | 2016-08-03 10:34:04 -0600 |
| commit | 7996822bbce7a8fe70eeca22baa52eb4eaeeabbe (patch) | |
| tree | 6b073b6cf0968b30c8288327ab06e25fe23bcfaa /fs/jbd2/commit.c | |
| parent | da3193916d5e4526d659c950f3f0dea92273bc5a (diff) | |
msm: kgsl: Correct dma_buf_get function return value check
Check the return value of dma_buf_get function using
IS_ERR_OR_NULL as dma_buf_get function can return
ERR_PTR(-EINVAL) which won't be caught by simple NULL
check. This will avoid kernel panic due to invalid
pointer access.
CRs-Fixed: 1008517
Change-Id: I11ebf618edd25a251d3fb8bb7fbbb886e10d788f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
