lkml.org 
[lkml]   [2020]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] IPv6: sr: seg6_strict_lookup_nexthop() can be static

Signed-off-by: kernel test robot <lkp@intel.com>
---
seg6_local.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv6/seg6_local.c b/net/ipv6/seg6_local.c
index 1a669f12d56c9d..e949d24036c2cd 100644
--- a/net/ipv6/seg6_local.c
+++ b/net/ipv6/seg6_local.c
@@ -219,8 +219,8 @@ int seg6_lookup_nexthop(struct sk_buff *skb,
return seg6_lookup_any_nexthop(skb, nhaddr, 0, tbl_id, false);
}

-int seg6_strict_lookup_nexthop(struct sk_buff *skb,
- struct in6_addr *nhaddr, int oif, u32 tbl_id)
+static int seg6_strict_lookup_nexthop(struct sk_buff *skb,
+ struct in6_addr *nhaddr, int oif, u32 tbl_id)
{
return seg6_lookup_any_nexthop(skb, nhaddr, oif, tbl_id, false);
}
\
 
 \ /
  Last update: 2020-10-13 18:13    [W:0.074 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site