diff options
| author | Adrian Salido-Moreno <adrianm@codeaurora.org> | 2014-10-29 21:18:44 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:36:03 -0700 |
| commit | fecd461b5776041f1f1f918e433413fd48541ea6 (patch) | |
| tree | 38753e1ee16e9fb04771c8615709bb7abe9ddad1 /include/linux/root_dev.h | |
| parent | 616011665d1b831839b806e9f987da9d849ab66e (diff) | |
msm: mdss: debug: provide unknown string when index is invalid
When index is not found in lookup table we should return unkown string,
however current check is only based on array bounds, but there may be
some indexes within the array that haven't been defined. A null check
for those should be sufficient.
Change-Id: I7fe7de572a95ae1482dc6a647979dfb7755270a7
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
