staging: android: vsoc: Fix ending '(' warnings in do_destroy_fd_scoped_permission
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 7 May 2018 01:13:26 +0000 (18:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:24:16 +0000 (13:24 +0200)
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>
drivers/staging/android/vsoc.c

index b5307fa584d36b5693ff3a29a4bac33bbc15cd4b..7e9cf3e4fa0465338e4e0a3a496f8c778bf29e2a 100644 (file)
@@ -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,