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:
f4867a3
)
ion: silence logical-not-parentheses warning
author
Michael Benedict
<michaelbt@live.com>
Sat, 8 Jun 2019 17:27:42 +0000
(
03:27
+1000)
committer
ivanmeler
<i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:13:39 +0000
(21:13 +0000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
drivers/staging/android/ion/ion.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/android/ion/ion.c
b/drivers/staging/android/ion/ion.c
index afc0880137d7cb2adced676c91bf53bbd7e50725..42c4e871bbf275b16c8b3fa4eef35a181c3dcc5d 100644
(file)
--- a/
drivers/staging/android/ion/ion.c
+++ b/
drivers/staging/android/ion/ion.c
@@
-942,7
+942,7
@@
static void user_ion_free_nolock(struct ion_client *client, struct ion_handle *h
WARN(1, "%s: invalid handle passed to free.\n", __func__);
return;
}
- if (!
handle->user_ref_count > 0
) {
+ if (!
(handle->user_ref_count > 0)
) {
WARN(1, "%s: User does not have access!\n", __func__);
return;
}