diff options
author | Yannis Damigos <giannis.damigos@gmail.com> | 2016-09-27 07:38:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-27 11:14:48 (GMT) |
commit | 66fa610095f758d1793a30d1cd57a0c1432258e2 (patch) | |
tree | e1a4b0586f39a271cfcce9b006970e176c2c2586 /REPORTING-BUGS | |
parent | 9f7a104c2be97902752f7d7a15e955b2de402356 (diff) | |
download | linux-66fa610095f758d1793a30d1cd57a0c1432258e2.tar.xz |
staging:android:ion: Fix comparison with NULL
This patch fixes the following comparison with NULL issues:
CHECK: Comparison to NULL could be written "compatible[i].name"
+ for (i = 0; compatible[i].name != NULL; i++) {
CHECK: Comparison to NULL could be written "!compatible[i].name"
+ if (compatible[i].name == NULL)
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions