UPSTREAM: ANDROID: binder: make binder_alloc_new_buf_locked static and indent its...
authorXiongwei Song <sxwjean@gmail.com>
Thu, 14 Dec 2017 04:15:42 +0000 (12:15 +0800)
committerMartijn Coenen <maco@android.com>
Tue, 17 Jul 2018 11:02:11 +0000 (13:02 +0200)
commitc2d933b07bcf74c30a7b485bbc5585fe25b15967
tree7cd74ab7824d720fd0071e1df49f13922f46a427
parent2db8e0ba294485769c56e66d3a6e0bf8093df3b6
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
drivers/android/binder_alloc.c