diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-03-07 09:50:28 -0700 |
|---|---|---|
| committer | Rob Clark <robdclark@gmail.com> | 2017-04-08 06:59:32 -0400 |
| commit | 36849cc361428b0b60c9065f854fe22bd55ce3ab (patch) | |
| tree | ef8938ec8f7b62c0fbd786be8ed2c890901552f7 /tools/perf/scripts/python | |
| parent | drm/msm: Fix wrong pointer check in a5xx_destroy (diff) | |
| download | linux-36849cc361428b0b60c9065f854fe22bd55ce3ab.tar.gz linux-36849cc361428b0b60c9065f854fe22bd55ce3ab.zip | |
drm/msm: Don't increase priv->num_aspaces until we know that it fits
priv->num_aspaces is increased and then checked to see if it still fits
in the priv->aspace array. If it doesn't, we warn and exit but
priv->num_aspaces remains incremented.
Don't incremement the count until we know that it fits in the array.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
