diff options
| author | Krishna Manikandan <mkrishn@codeaurora.org> | 2016-12-28 16:30:26 +0530 |
|---|---|---|
| committer | Krishna Manikandan <mkrishn@codeaurora.org> | 2017-01-02 10:25:41 +0530 |
| commit | cb31d17385da633cf71dbc9e192e7b30eeff8e35 (patch) | |
| tree | f1c92a51a6dfe112968b396e0a9619f22106fa29 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 64f1b2153f6a2f838763bf1006f1e6cf239ba328 (diff) | |
msm: mdss: Initialize pan_name array to 0 and handle error case
Initialize the pan_name array to 0 before trying to copy
data from mdss_mdp_panel array to prevent junk values
being wrongly parsed by strnstr function and return error
when panel name is '0', this would let us read the primary
panel interface from device tree.
Change-Id: I07bfc1f7195f6cc61dfd3e470d2e3e3e43c0049d
Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
