diff options
| author | Mohammed Javid <mjavid@codeaurora.org> | 2017-11-09 15:16:46 +0530 |
|---|---|---|
| committer | Mohammed Javid <mjavid@codeaurora.org> | 2019-07-10 14:22:54 +0530 |
| commit | ecf04731f83fa58a6dc87ada0463fadaf390b31d (patch) | |
| tree | b41d4635bbe3ef588abfda22945b0fc141880033 /include/linux/compiler.h | |
| parent | eedc5c20ec7e980ed542bd4dd86288aa2f0c9855 (diff) | |
msm: ipa: Fix array out of bound and use after NULL check
Couple of code cleanup
- Check for upper boundary for resource_index
not to dependent on ipa_rm_dep_get_index function.
- Check actual argument for NULL and return.
Change-Id: I0ab244e68d96f7841ab2a10e61f2546314166165
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions
