projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c502607
)
staging: abc: fix comparing a pointer to a null character
author
Anan Jaser
<ananjaser@gmail.com>
Tue, 22 Sep 2020 23:01:25 +0000
(
03:01
+0400)
committer
ivanmeler
<i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:05 +0000
(21:14 +0000)
Change-Id: Ic062052928e84f6b065472a5dee4bf8a49fc964e
drivers/staging/sti/abc/abc_common.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/sti/abc/abc_common.c
b/drivers/staging/sti/abc/abc_common.c
index d93f5524fd7e5207699d0a262648b1187a1e713a..0af8c085f415392e843d5fc3741b6ec89d15e06d 100644
(file)
--- a/
drivers/staging/sti/abc/abc_common.c
+++ b/
drivers/staging/sti/abc/abc_common.c
@@
-360,7
+360,7
@@
static void sec_abc_work_func(struct work_struct *work)
#if defined(DEBUG_ABC)
idx = 0;
- while ((c = uevent_str[idx]) !=
'\0'
) {
+ while ((c = uevent_str[idx]) !=
NULL
) {
ABC_PRINT("%s\n", uevent_str[idx]);
idx++;
}