netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc comments
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Sat, 27 Mar 2021 08:15:49 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:56:55 +0000 (17:56 -0700)
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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_mgmt.c

index df1b41e..ca52f50 100644 (file)
@@ -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
  *