OSDN Git Service

msm: kgsl: Enhance reading lm_sequence in _execute_reg_sequence()
authorArchana Sriram <apsrir@codeaurora.org>
Mon, 26 Mar 2018 07:44:04 +0000 (13:14 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 9 Apr 2018 10:57:51 +0000 (03:57 -0700)
commitd620817f3ab49a9e876bb07c963e8966216c4e9d
treec3a3695c1ee3b2aa21dfc3924aa42056e3c0f584
parentef00227cce638b1ca8bd8c04d342a8688b7400e9
msm: kgsl: Enhance reading lm_sequence in _execute_reg_sequence()

Modified conditional checks to read lm_sequence so as to avoid
the possibility of pointer overflow.

CRs-Fixed: 2212443
Change-Id: I72b30e35996c40f23fc81739e27724b1188f1c05
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
drivers/gpu/msm/adreno_a5xx.c