diff options
author | Wei Yongjun | 2018-09-25 14:30:36 +0000 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-10-02 15:53:53 -0700 |
commit | f4608ce917d6f50824f4c609d52a3c8900c59164 (patch) | |
tree | 1063d60eac2d57cb9c6b070f71ae98318d1c4858 /drivers/android/binder.c | |
parent | 15c6784c7cee3b653f127b41340210284dea66f6 (diff) |
binder: make symbol 'binder_free_buf' static
Fixes the following sparse warning:
drivers/android/binder.c:3312:1: warning:
symbol 'binder_free_buf' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
-rw-r--r-- | drivers/android/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 1b54bb57a9fb..cb30a524d16d 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -3308,7 +3308,7 @@ err_invalid_target_handle: * * Cleanup buffer and free it. */ -void +static void binder_free_buf(struct binder_proc *proc, struct binder_buffer *buffer) { if (buffer->transaction) { |