diff options
author | Xiongfeng Wang <wangxiongfeng2@huawei.com> | 2021-03-27 16:15:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-28 17:56:55 -0700 |
commit | 37569287cba1246a5057de32ac42d6c8941c714b (patch) | |
tree | 68323db85f79473d2d717fe06840b1ddb0e3577d /net/l3mdev/l3mdev.c | |
parent | 4732315ca9fe9f9f9327d6e4b0a2140446e9c48c (diff) | |
download | linux-stable-37569287cba1246a5057de32ac42d6c8941c714b.tar.gz linux-stable-37569287cba1246a5057de32ac42d6c8941c714b.tar.bz2 linux-stable-37569287cba1246a5057de32ac42d6c8941c714b.zip |
l3mdev: Correct function names in the kerneldoc comments
Fix the following W=1 kernel build warning(s):
net/l3mdev/l3mdev.c:111: warning: expecting prototype for l3mdev_master_ifindex(). Prototype was for l3mdev_master_ifindex_rcu() instead
net/l3mdev/l3mdev.c:145: warning: expecting prototype for l3mdev_master_upper_ifindex_by_index(). Prototype was for l3mdev_master_upper_ifindex_by_index_rcu() 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>
Diffstat (limited to 'net/l3mdev/l3mdev.c')
-rw-r--r-- | net/l3mdev/l3mdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/l3mdev/l3mdev.c b/net/l3mdev/l3mdev.c index ad7730b68772..17927966abb3 100644 --- a/net/l3mdev/l3mdev.c +++ b/net/l3mdev/l3mdev.c @@ -103,7 +103,7 @@ unlock: EXPORT_SYMBOL_GPL(l3mdev_ifindex_lookup_by_table_id); /** - * l3mdev_master_ifindex - get index of L3 master device + * l3mdev_master_ifindex_rcu - get index of L3 master device * @dev: targeted interface */ @@ -136,7 +136,7 @@ int l3mdev_master_ifindex_rcu(const struct net_device *dev) EXPORT_SYMBOL_GPL(l3mdev_master_ifindex_rcu); /** - * l3mdev_master_upper_ifindex_by_index - get index of upper l3 master + * l3mdev_master_upper_ifindex_by_index_rcu - get index of upper l3 master * device * @net: network namespace for device index lookup * @ifindex: targeted interface |