]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/android/binderfs.c
binderfs: make symbol 'binderfs_fs_parameters' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 18 Aug 2020 11:22:45 +0000 (19:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 16:24:39 +0000 (18:24 +0200)
commit89320020d967e8f7affbc4488b85860b3a64c4c4
tree265203f3a0e3345c37bfeb8269f3475e7e679098
parent4b463822316e2d765191c99dd591a0018ac473e0
binderfs: make symbol 'binderfs_fs_parameters' static

The sparse tool complains as follows:

drivers/android/binderfs.c:66:32: warning:
 symbol 'binderfs_fs_parameters' was not declared. Should it be static?

This variable is not used outside of binderfs.c, so this commit
marks it static.

Fixes: 095cf502b31e ("binderfs: port to new mount api")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200818112245.43891-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binderfs.c