From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] mld: mld_check_leave_group() can be static
Date: Tue, 09 Feb 2021 11:34:56 +0800 [thread overview]
Message-ID: <20210209033456.GA29327@eacb66f1e73b> (raw)
In-Reply-To: <20210208175952.5880-1-ap420073@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@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;
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Taehee Yoo <ap420073@gmail.com>,
davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
dsahern@kernel.org, xiyou.wangcong@gmail.com, jwi@linux.ibm.com,
kgraul@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com,
borntraeger@de.ibm.com
Cc: kbuild-all@lists.01.org
Subject: [RFC PATCH] mld: mld_check_leave_group() can be static
Date: Tue, 9 Feb 2021 11:34:56 +0800 [thread overview]
Message-ID: <20210209033456.GA29327@eacb66f1e73b> (raw)
In-Reply-To: <20210208175952.5880-1-ap420073@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@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;
next prev parent reply other threads:[~2021-02-09 3:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 17:59 [PATCH net-next 8/8] mld: change context of mld module Taehee Yoo
2021-02-09 2:33 ` kernel test robot
2021-02-09 2:33 ` kernel test robot
2021-02-09 3:17 ` kernel test robot
2021-02-09 3:17 ` kernel test robot
2021-02-09 3:34 ` kernel test robot
2021-02-09 3:34 ` kernel test robot
2021-02-09 3:34 ` kernel test robot [this message]
2021-02-09 3:34 ` [RFC PATCH] mld: mld_check_leave_group() can be static kernel test robot
2021-02-09 8:26 ` [PATCH net-next 8/8] mld: change context of mld module Julian Wiedmann
2021-02-09 10:00 ` Taehee Yoo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210209033456.GA29327@eacb66f1e73b \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.