Reported-by: kernel test robot <l...@intel.com>
Signed-off-by: kernel test robot <l...@intel.com>
---
 mcast.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 5fd87659dcefa..c9862a647a4b6 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -330,7 +330,7 @@ void ipv6_sock_mc_close(struct sock *sk)
 }
 
 /* special case - (INCLUDE, empty) == LEAVE_GROUP */
-bool mld_check_leave_group(struct ipv6_mc_socklist *mc_lst, int omode)
+static bool mld_check_leave_group(struct ipv6_mc_socklist *mc_lst, int omode)
 {
        if (atomic_read(&mc_lst->sl_count) == 1 && omode == MCAST_INCLUDE)
                return true;

Reply via email to