Skip to content
Commit 441a08db authored by Tejas Prajapati's avatar Tejas Prajapati
Browse files

msm: camera: isp: variable should be accessed only if match is found



There is a possibility that the priority variable would
be accessed even for the HEAD node which would result in
out of bound errors, so access the elements of the
structure only if the handler is found.

Change-Id: I09dc527b1ff878604bf157e106bb3e5805a7e516
Signed-off-by: default avatarTejas Prajapati <tpraja@codeaurora.org>
parent 575b31a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment