From: Michael Benedict Date: Sat, 8 Jun 2019 17:27:42 +0000 (+1000) Subject: ion: silence logical-not-parentheses warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2704110b699ba2aa71a9ec963f7768599b039fa5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ion: silence logical-not-parentheses warning Signed-off-by: Michael Benedict --- diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index afc0880137d7..42c4e871bbf2 100644 --- 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; }