diff options
author | Mrinal Pandey <mrinalmni@gmail.com> | 2020-07-24 15:12:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 17:04:40 +0200 |
commit | 4df9772c8489b7d626db0ee307e029aea66db260 (patch) | |
tree | 650ffa333958b9c66ac31f2c4cc9ed93feaa75e4 /drivers/android | |
parent | binder: Prevent context manager from incrementing ref 0 (diff) | |
download | linux-4df9772c8489b7d626db0ee307e029aea66db260.tar.xz linux-4df9772c8489b7d626db0ee307e029aea66db260.zip |
drivers: android: Fix a variable declaration coding style issue
Add a blank line after variable declarations as suggested by checkpatch.
Signed-off-by: Mrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131254.qxbvderrws36dzzq@mrinalpandey
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
-rw-r--r-- | drivers/android/binder_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c index cbe6aa77d50d..69609696a843 100644 --- a/drivers/android/binder_alloc.c +++ b/drivers/android/binder_alloc.c @@ -547,6 +547,7 @@ static void binder_delete_free_buffer(struct binder_alloc *alloc, { struct binder_buffer *prev, *next = NULL; bool to_free = true; + BUG_ON(alloc->buffers.next == &buffer->entry); prev = binder_buffer_prev(buffer); BUG_ON(!prev->free); |