]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ANDROID: binder: make binder_alloc_new_buf_locked static and indent its arguments
authorXiongwei Song <sxwjean@gmail.com>
Thu, 14 Dec 2017 04:15:42 +0000 (12:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 09:12:57 +0000 (10:12 +0100)
commit3f827245463a57f5ef64a665e1ca64eed0da00a5
tree67ca0be87a45b838b65c223ad5224861157d4b88
parent8a943bd283ecbaaab26b184717bd2395af1da1e4
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>
drivers/android/binder_alloc.c