summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorVikram Panduranga <vpandura@codeaurora.org>2016-09-19 12:13:06 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-11 15:05:00 -0700
commit7f43c41e90d18f99dd440118dc27c72bab1e2725 (patch)
tree323f08167443633f751b211af60699bc4856259b /fs/proc/array.c
parent1d36d1fe947e29c347b6e84261d7b0837435c5fa (diff)
ASoC: msm: qdsp6v2: Index check for out of range
Check if index is a non-negative value before it is used. Also, initialize return variable to default value before it is used so that it does not return uninitialized value. CRs-Fixed: 1059495 Change-Id: I94a6fc02436734b4f398d1a72f53b3ae68612679 Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions