mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-01-29 19:15:20 +00:00
UPSTREAM: xfrm: Make function xfrmi_get_link_net() static
Fixes the following sparse warning:
net/xfrm/xfrm_interface.c:745:12: warning:
symbol 'xfrmi_get_link_net' was not declared. Should it be static?
Fixes: f203b76d7809 ("xfrm: Add virtual xfrm interfaces")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
(cherry picked from commit 211d6f2dc883fe2235532d7ec4ed7e8222957ae0)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I71d25b41c0e87945281c6c8dedf65953a4cef4dc
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
09e107ce0a
commit
26bfbe1e7b
@@ -702,7 +702,7 @@ nla_put_failure:
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
struct net *xfrmi_get_link_net(const struct net_device *dev)
|
||||
static struct net *xfrmi_get_link_net(const struct net_device *dev)
|
||||
{
|
||||
struct xfrm_if *xi = netdev_priv(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user