Skip to contentSkip to conversation

net: Correct function names in the kerneldoc comments

PATCH Applied Xiongfeng Wang 3 participants 13 messages Mar 27, 2021 – Mar 29, 2021

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

cover net: Correct function names in the kerneldoc comments

Xiongfeng Wang (9):
l3mdev: Correct function names in the kerneldoc comments
netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc
comments
net: core: Correct function name dev_uc_flush() in the kerneldoc
net: core: Correct function name netevent_unregister_notifier() in the
kerneldoc
net: 9p: Correct function name errstr2errno() in the kerneldoc
comments
9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc
net: 9p: Correct function names in the kerneldoc comments ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the
kerneldoc comments
NFC: digital: Correct function name in the kerneldoc comments

 net/9p/client.c              | 4 ++--
 net/9p/error.c               | 2 +-
 net/9p/trans_fd.c            | 2 +-
 net/core/dev_addr_lists.c    | 2 +-
 net/core/netevent.c          | 2 +-
 net/ipv6/ip6_tunnel.c        | 2 +-
 net/l3mdev/l3mdev.c          | 4 ++--
 net/netlabel/netlabel_mgmt.c | 2 +-
 net/nfc/digital_core.c       | 2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/9 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

---
 net/l3mdev/l3mdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/l3mdev/l3mdev.c +2 -2
index ad7730b68772..17927966abb3 100644
@@ -103,7 +103,7 @@ int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type,
 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
Signature · 1 line
2.20.1
Reviewed-by on v1 1/9
#2 lore raw

Re: [PATCH 1/9] l3mdev: Correct function names in the kerneldoc comments

Quoted 11 lines · Xiongfeng Wang

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

---
 net/l3mdev/l3mdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
#3 lore raw

PATCH 2/9 netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc comments

In reply to Xiongfeng Wang

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

net/netlabel/netlabel_mgmt.c:78: warning: expecting prototype for netlbl_mgmt_add(). Prototype was for netlbl_mgmt_add_common() instead

---
 net/netlabel/netlabel_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/netlabel/netlabel_mgmt.c +1 -1
index df1b41ed73fd..ca52f5085989 100644
@@ -63,7 +63,7 @@ static const struct nla_policy netlbl_mgmt_genl_policy[NLBL_MGMT_A_MAX + 1] = {
  */
 
 /**
- * netlbl_mgmt_add - Handle an ADD message
+ * netlbl_mgmt_add_common - Handle an ADD message
  * @info: the Generic NETLINK info block
  * @audit_info: NetLabel audit information
  *
Signature · 1 line
2.20.1
#4 lore raw

PATCH 3/9 net: core: Correct function name dev_uc_flush() in the kerneldoc

In reply to Xiongfeng Wang

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

net/core/dev_addr_lists.c:732: warning: expecting prototype for dev_uc_flush(). Prototype was for dev_uc_init() instead

---
 net/core/dev_addr_lists.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev_addr_lists.c +1 -1
index 1e5bde241185..45ae6eeb2964 100644
@@ -723,7 +723,7 @@ void dev_uc_flush(struct net_device *dev)
 EXPORT_SYMBOL(dev_uc_flush);
 
 /**
- *	dev_uc_flush - Init unicast address list
+ *	dev_uc_init - Init unicast address list
  *	@dev: device
  *
  *	Init unicast address list.
Signature · 1 line
2.20.1
#5 lore raw

PATCH 4/9 net: core: Correct function name netevent_unregister_notifier() in the kerneldoc

In reply to Xiongfeng Wang

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

net/core/netevent.c:45: warning: expecting prototype for netevent_unregister_notifier(). Prototype was for unregister_netevent_notifier() instead

---
 net/core/netevent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/netevent.c +1 -1
index d76ed7739c70..5bb615e963cc 100644
@@ -32,7 +32,7 @@ int register_netevent_notifier(struct notifier_block *nb)
 EXPORT_SYMBOL_GPL(register_netevent_notifier);
 
 /**
- *	netevent_unregister_notifier - unregister a netevent notifier block
+ *	unregister_netevent_notifier - unregister a netevent notifier block
  *	@nb: notifier
  *
  *	Unregister a notifier previously registered by
Signature · 1 line
2.20.1
#6 lore raw

PATCH 5/9 net: 9p: Correct function name errstr2errno() in the kerneldoc comments

In reply to Xiongfeng Wang

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

net/9p/error.c:207: warning: expecting prototype for errstr2errno(). Prototype was for p9_errstr2errno() instead

---
 net/9p/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/9p/error.c +1 -1
index 231f355fa9c6..61c18daf3050 100644
@@ -197,7 +197,7 @@ int p9_error_init(void)
 EXPORT_SYMBOL(p9_error_init);
 
 /**
- * errstr2errno - convert error string to error number
+ * p9_errstr2errno - convert error string to error number
  * @errstr: error string
  * @len: length of error string
  *
Signature · 1 line
2.20.1
#7 lore raw

PATCH 6/9 9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc

In reply to Xiongfeng Wang

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

net/9p/trans_fd.c:881: warning: expecting prototype for p9_mux_destroy(). Prototype was for p9_conn_destroy() instead

---
 net/9p/trans_fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/9p/trans_fd.c +1 -1
index fa158397bb63..f4dd0456beaf 100644
@@ -872,7 +872,7 @@ static int p9_socket_open(struct p9_client *client, struct socket *csocket)
 }
 
 /**
- * p9_mux_destroy - cancels all pending requests of mux
+ * p9_conn_destroy - cancels all pending requests of mux
  * @m: mux to destroy
  *
  */
Signature · 1 line
2.20.1
#8 lore raw

PATCH 7/9 net: 9p: Correct function names in the kerneldoc comments

In reply to Xiongfeng Wang

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

net/9p/client.c:133: warning: expecting prototype for parse_options(). Prototype was for parse_opts() instead net/9p/client.c:269: warning: expecting prototype for p9_req_alloc(). Prototype was for p9_tag_alloc() instead

---
 net/9p/client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/9p/client.c +2 -2
index 0a9019da18f3..b7b958f61faf 100644
@@ -122,7 +122,7 @@ static int get_protocol_version(char *s)
 }
 
 /**
- * parse_options - parse mount options into client structure
+ * parse_opts - parse mount options into client structure
  * @opts: options string passed from mount
  * @clnt: existing v9fs client information
  *
@@ -256,7 +256,7 @@ EXPORT_SYMBOL(p9_fcall_fini);
 static struct kmem_cache *p9_req_cache;
 
 /**
- * p9_req_alloc - Allocate a new request.
+ * p9_tag_alloc - Allocate a new request.
  * @c: Client session.
  * @type: Transaction type.
  * @max_size: Maximum packet size for this request.
Signature · 1 line
2.20.1
#9 lore raw

PATCH 8/9 ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the kerneldoc comments

In reply to Xiongfeng Wang

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

---
 net/ipv6/ip6_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/ip6_tunnel.c +1 -1
index 3fa0eca5a06f..cd78f5b2cd75 100644
@@ -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
  *
Signature · 1 line
2.20.1
Reviewed-by on v1 8/9
#10 lore raw

Re: [PATCH 8/9] ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the kerneldoc comments

Quoted 10 lines · Xiongfeng Wang

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

---
 net/ipv6/ip6_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#11 lore raw

PATCH 9/9 NFC: digital: Correct function name in the kerneldoc comments

In reply to Xiongfeng Wang

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

net/nfc/digital_core.c:473: warning: expecting prototype for start_poll operation(). Prototype was for digital_start_poll() instead

---
 net/nfc/digital_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/nfc/digital_core.c +1 -1
index da7e2112771f..5044c7db577e 100644
@@ -457,7 +457,7 @@ static void digital_add_poll_tech(struct nfc_digital_dev *ddev, u8 rf_tech,
 }
 
 /**
- * start_poll operation
+ * digital_start_poll - start_poll operation
  * @nfc_dev: device to be polled
  * @im_protocols: bitset of nfc initiator protocols to be used for polling
  * @tm_protocols: bitset of nfc transport protocols to be used for polling
Signature · 1 line
2.20.1
#12 lore raw
In reply to Xiongfeng Wang
This series was applied to netdev/net-next.git (refs/heads/master):

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

Quoted 15 lines · On Sat, 27 Mar 2021 16:15:47 +0800 you wrote:

Xiongfeng Wang (9):
l3mdev: Correct function names in the kerneldoc comments
netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc
comments
net: core: Correct function name dev_uc_flush() in the kerneldoc
net: core: Correct function name netevent_unregister_notifier() in the
kerneldoc
net: 9p: Correct function name errstr2errno() in the kerneldoc
comments
9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc
net: 9p: Correct function names in the kerneldoc comments ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the
kerneldoc comments
NFC: digital: Correct function name in the kerneldoc comments

Quoted 1 line

[...]

Here is the summary with links:
- [1/9] l3mdev: Correct function names in the kerneldoc comments

    https://git.kernel.org/netdev/net-next/c/37569287cba1
  - [2/9] netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc comments
    https://git.kernel.org/netdev/net-next/c/3ba937fb95e8
  - [3/9] net: core: Correct function name dev_uc_flush() in the kerneldoc
    https://git.kernel.org/netdev/net-next/c/af825087433f
  - [4/9] net: core: Correct function name netevent_unregister_notifier() in the kerneldoc
    https://git.kernel.org/netdev/net-next/c/bb2882bc6c54
  - [5/9] net: 9p: Correct function name errstr2errno() in the kerneldoc comments
    https://git.kernel.org/netdev/net-next/c/8bf94a92505e
  - [6/9] 9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc
    https://git.kernel.org/netdev/net-next/c/54e625e3bd1d
  - [7/9] net: 9p: Correct function names in the kerneldoc comments
    https://git.kernel.org/netdev/net-next/c/03ff7371cba4
  - [8/9] ip6_tunnel:: Correct function name parse_tvl_tnl_enc_lim() in the kerneldoc comments
    https://git.kernel.org/netdev/net-next/c/f7b88985a1ae
  - [9/9] NFC: digital: Correct function name in the kerneldoc comments
    https://git.kernel.org/netdev/net-next/c/b6908cf795e9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html