diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-05-06 18:13:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-08 13:24:16 +0200 |
commit | a174ef680664c4406d1696798596b73889acaf9a (patch) | |
tree | aa3001fa25d5e277b8ea5015347a2d3ac8200b95 /drivers/staging/android/vsoc.c | |
parent | b33fa3c6877c203238e88ad8f3697b6f6ce8787c (diff) |
staging: android: vsoc: Fix ending '(' warnings in do_destroy_fd_scoped_permission
Fixes checkpatch.pl warnings about lines ending with parentheses.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/vsoc.c')
-rw-r--r-- | drivers/staging/android/vsoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/android/vsoc.c b/drivers/staging/android/vsoc.c index b5307fa584d3..7e9cf3e4fa04 100644 --- a/drivers/staging/android/vsoc.c +++ b/drivers/staging/android/vsoc.c @@ -367,8 +367,8 @@ do_destroy_fd_scoped_permission(struct vsoc_device_region *owner_region_p, if (!perm) return; - owner_ptr = (atomic_t *)shm_off_to_virtual_addr( - owner_region_p->region_begin_offset + perm->owner_offset); + owner_ptr = (atomic_t *)shm_off_to_virtual_addr + (owner_region_p->region_begin_offset + perm->owner_offset); prev = atomic_xchg(owner_ptr, VSOC_REGION_FREE); if (prev != perm->owned_value) dev_err(&vsoc_dev.dev->dev, |