Skip to content

Commit

Permalink
binder: make symbol 'binder_free_buf' static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Oct 2, 2018
1 parent 15c6784 commit f4608ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -3308,7 +3308,7 @@ static void binder_transaction(struct binder_proc *proc,
*
* Cleanup buffer and free it.
*/
void
static void
binder_free_buf(struct binder_proc *proc, struct binder_buffer *buffer)
{
if (buffer->transaction) {
Expand Down

0 comments on commit f4608ce

Please sign in to comment.