From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] inet: frags: lowpan_rhash_params can be static Date: Sat, 31 Mar 2018 15:47:07 +0800 Message-ID: <20180331074707.GA123200@ivb42> References: <20180331005309.179376-9-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, "David S . Miller" , netdev , Florian Westphal , Herbert Xu , Thomas Graf , Jesper Dangaard Brouer , Alexander Aring , Stefan Schmidt , Kirill Tkhai , Eric Dumazet , Eric Dumazet To: Eric Dumazet Return-path: Received: from mga09.intel.com ([134.134.136.24]:14549 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751503AbeCaHrd (ORCPT ); Sat, 31 Mar 2018 03:47:33 -0400 Content-Disposition: inline In-Reply-To: <20180331005309.179376-9-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: b051dbce5e50 ("inet: frags: use rhashtables for reassembly units") Signed-off-by: Fengguang Wu --- reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ieee802154/6lowpan/reassembly.c b/net/ieee802154/6lowpan/reassembly.c index dd743c2..0fa0121 100644 --- a/net/ieee802154/6lowpan/reassembly.c +++ b/net/ieee802154/6lowpan/reassembly.c @@ -597,7 +597,7 @@ static int lowpan_obj_cmpfn(struct rhashtable_compare_arg *arg, const void *ptr) return !!memcmp(&fq->key, key, sizeof(*key)); } -const struct rhashtable_params lowpan_rhash_params = { +static const struct rhashtable_params lowpan_rhash_params = { .head_offset = offsetof(struct inet_frag_queue, node), .hashfn = lowpan_key_hashfn, .obj_hashfn = lowpan_obj_hashfn,