Re: [RFC PATCH net-next] tipc: link_is_bc_sndlink() can be static

2015-10-25 Thread David Miller
From: kbuild test robot 
Date: Sat, 24 Oct 2015 22:56:01 +0800

> TO: "David S. Miller" 
> CC: netdev@vger.kernel.org
> CC: Jon Maloy 
> CC: Ying Xue 
> CC: tipc-discuss...@lists.sourceforge.net
> CC: linux-ker...@vger.kernel.org
> 
> 
> Signed-off-by: Fengguang Wu 

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [RFC PATCH net-next] tipc: link_is_bc_sndlink() can be static

2015-10-24 Thread Jon Maloy
Acked-by: Jon Maloy 


> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-
> ow...@vger.kernel.org] On Behalf Of kbuild test robot
> Sent: Saturday, 24 October, 2015 10:56
> To: kbuild-inter...@linux.intel.com; l...@eclists.intel.com
> Cc: kbuild-...@01.org; netdev@vger.kernel.org
> Subject: [RFC PATCH net-next] tipc: link_is_bc_sndlink() can be static
> 
> TO: "David S. Miller" 
> CC: netdev@vger.kernel.org
> CC: Jon Maloy 
> CC: Ying Xue 
> CC: tipc-discuss...@lists.sourceforge.net
> CC: linux-ker...@vger.kernel.org
> 
> 
> Signed-off-by: Fengguang Wu 
> ---
>  link.c |8 
>  node.c |2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/net/tipc/link.c b/net/tipc/link.c index 4449fa0..9efbdbd 100644
> --- a/net/tipc/link.c
> +++ b/net/tipc/link.c
> @@ -163,12 +163,12 @@ bool tipc_link_is_blocked(struct tipc_link *l)
>   return l->state & (LINK_RESETTING | LINK_PEER_RESET |
> LINK_FAILINGOVER);  }
> 
> -bool link_is_bc_sndlink(struct tipc_link *l)
> +static bool link_is_bc_sndlink(struct tipc_link *l)
>  {
>   return !l->bc_sndlink;
>  }
> 
> -bool link_is_bc_rcvlink(struct tipc_link *l)
> +static bool link_is_bc_rcvlink(struct tipc_link *l)
>  {
>   return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l));  } @@ -1364,8
> +1364,8 @@ static bool tipc_link_build_bc_proto_msg(struct tipc_link *l,
> bool bcast,
>   * Give a newly added peer node the sequence number where it should
>   * start receiving and acking broadcast packets.
>   */
> -void tipc_link_build_bc_init_msg(struct tipc_link *l,
> -  struct sk_buff_head *xmitq)
> +static void tipc_link_build_bc_init_msg(struct tipc_link *l,
> + struct sk_buff_head *xmitq)
>  {
>   struct sk_buff_head list;
> 
> diff --git a/net/tipc/node.c b/net/tipc/node.c index 7493506..20cddec 100644
> --- a/net/tipc/node.c
> +++ b/net/tipc/node.c
> @@ -1083,7 +1083,7 @@ int tipc_node_xmit_skb(struct net *net, struct
> sk_buff *skb, u32 dnode,
>   *
>   * Invoked with no locks held.
>   */
> -void tipc_node_bc_rcv(struct net *net, struct sk_buff *skb, int bearer_id)
> +static void tipc_node_bc_rcv(struct net *net, struct sk_buff *skb, int
> +bearer_id)
>  {
>   int rc;
>   struct sk_buff_head xmitq;
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in the body
> of a message to majord...@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html