summary refs log tree commit diff
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-08 21:59:15 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-08 20:03:36 -0700
commit7edce63666cd24cfffba031e7a32d1aa3848ffe7 (patch)
treef517dee1e4783f43f241a82eaed4002c6f37d294
parent652b4987ba1aaa25bd7d76a563e957eddf8ae1c0 (diff)
downloadlinux-7edce63666cd24cfffba031e7a32d1aa3848ffe7.tar.gz
cipso: fix 'audit_secid' kernel-doc warning in cipso_ipv4.c
Fixes the following W=1 kernel build warning(s):

net/ipv4/cipso_ipv4.c:510: warning: Excess function parameter 'audit_secid' description in 'cipso_v4_doi_remove'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/cipso_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index 2eb71579f4d2..471d33a0d095 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -498,7 +498,7 @@ static void cipso_v4_doi_free_rcu(struct rcu_head *entry)
 /**
  * cipso_v4_doi_remove - Remove an existing DOI from the CIPSO protocol engine
  * @doi: the DOI value
- * @audit_secid: the LSM secid to use in the audit message
+ * @audit_info: NetLabel audit information
  *
  * Description:
  * Removes a DOI definition from the CIPSO engine.  The NetLabel routines will