projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c6784
)
binder: make symbol 'binder_free_buf' static
author
Wei Yongjun
<weiyongjun1@huawei.com>
Tue, 25 Sep 2018 14:30:36 +0000
(14:30 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:53:53 +0000
(15:53 -0700)
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>
drivers/android/binder.c
patch
|
blob
|
history
diff --git
a/drivers/android/binder.c
b/drivers/android/binder.c
index
1b54bb5
..
cb30a52
100644
(file)
--- 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) {