lkml.org 
[lkml]   [2018]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFC PATCH net-next] tipc: tipc_disc_addr_trial_msg() can be static
Date
Acked-by: Jon Maloy jon.maloy@ericsson.com

Thanks, Fengguang

> -----Original Message-----
> From: netdev-owner@vger.kernel.org [mailto:netdev-
> owner@vger.kernel.org] On Behalf Of kbuild test robot
> Sent: Friday, March 23, 2018 15:48
> To: Jon Maloy <jon.maloy@ericsson.com>
> Cc: kbuild-all@01.org; netdev@vger.kernel.org; Ying Xue
> <ying.xue@windriver.com>; tipc-discussion@lists.sourceforge.net; linux-
> kernel@vger.kernel.org
> Subject: [RFC PATCH net-next] tipc: tipc_disc_addr_trial_msg() can be static
>
>
> Fixes: 25b0b9c4e835 ("tipc: handle collisions of 32-bit node address hash
> values")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
> discover.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/net/tipc/discover.c b/net/tipc/discover.c index e765573..9f666e0
> 100644
> --- a/net/tipc/discover.c
> +++ b/net/tipc/discover.c
> @@ -134,13 +134,13 @@ static void disc_dupl_alert(struct tipc_bearer *b,
> u32 node_addr,
>
> /* tipc_disc_addr_trial(): - handle an address uniqueness trial from peer
> */
> -bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
> - struct tipc_media_addr *maddr,
> - struct tipc_bearer *b,
> - u32 dst, u32 src,
> - u32 sugg_addr,
> - u8 *peer_id,
> - int mtyp)
> +static bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
> + struct tipc_media_addr *maddr,
> + struct tipc_bearer *b,
> + u32 dst, u32 src,
> + u32 sugg_addr,
> + u8 *peer_id,
> + int mtyp)
> {
> struct net *net = d->net;
> struct tipc_net *tn = tipc_net(net);

\
 
 \ /
  Last update: 2018-03-24 13:57    [W:0.054 / U:2.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site