]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8ee12028ffe1b5979acc43be9377d45aae0eab8
tree265203f3a0e3345c37bfeb8269f3475e7e679098
parent1202152b020206af47182b8559361fd2ce021da4
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: 58fadee96ec3 ("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