Skip to content

Commit

Permalink
ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the ker…
Browse files Browse the repository at this point in the history
…neldoc comments

Fix the following W=1 kernel build warning(s):

 net/ipv6/ip6_tunnel.c:401: warning: expecting prototype for parse_tvl_tnl_enc_lim(). Prototype was for ip6_tnl_parse_tlv_enc_lim() instead

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Xiongfeng Wang authored and David S. Miller committed Mar 29, 2021
1 parent 03ff737 commit f7b8898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ip6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ ip6_tnl_dev_uninit(struct net_device *dev)
}

/**
* parse_tvl_tnl_enc_lim - handle encapsulation limit option
* ip6_tnl_parse_tlv_enc_lim - handle encapsulation limit option
* @skb: received socket buffer
* @raw: the ICMPv6 error message data
*
Expand Down

0 comments on commit f7b8898

Please sign in to comment.