Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 6eba236aacd1f..fcd9860cdf148 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c @@ -689,8 +689,8 @@ const struct file_operations bpf_map_fops = { }; /* Code is similar to anon_inode_getfd(), except starts at FD 1 */ -int bpf_anon_inode_getfd(const char *name, const struct file_operations *fops, - void *priv, int flags) +static int bpf_anon_inode_getfd(const char *name, const struct file_operations *fops, + void *priv, int flags) { int error, fd; struct file *file;