diff options
| author | Xiongwei Song <sxwjean@gmail.com> | 2017-12-14 12:15:42 +0800 |
|---|---|---|
| committer | Martijn Coenen <maco@android.com> | 2018-07-17 12:48:04 +0200 |
| commit | 8429d9832a2cb3d301eeb5d6606b6cd088b9e52b (patch) | |
| tree | 485464dd88b44c9c766b354c3ef64bba3c207edb /tools/perf/scripts/python | |
| parent | 8bdaa17ffa3f406efb03ba72dbad339531b178ad (diff) | |
UPSTREAM: ANDROID: binder: make binder_alloc_new_buf_locked static and indent its arguments
The function binder_alloc_new_buf_locked() is only used in this file, so
make it static. Also clean up sparse warning:
drivers/android/binder_alloc.c:330:23: warning: no previous prototype
for ‘binder_alloc_new_buf_locked’ [-Wmissing-prototypes]
In addition, the line of the function name exceeds 80 characters when
add static for this function, hence indent its arguments anew.
Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3f827245463a57f5ef64a665e1ca64eed0da00a5)
Change-Id: I6b379df815d30f9b3e9f1dd50334375123b25bbc
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
