cipso: fix 'audit_secid' kernel-doc warning in cipso_ipv4.c
Subsystems (4)
PATCH 1/1 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 <[email protected]>
Signed-off-by Wang Hai <[email protected]>
--- net/ipv4/cipso_ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/cipso_ipv4.c +1 -1
@@ -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
Signature · 1 line
2.17.1
Quoted 10 lines · Wang Hai
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 <[email protected]>Signed-off-by Wang Hai <[email protected]>--- net/ipv4/cipso_ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for catching this and submitting the fix.
Acked-by Paul Moore <[email protected]>
Quoted 16 lines
net/ipv4/cipso_ipv4.c +1
-2@@ -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 -- 2.17.1
Signature · 2 lines
paul moore www.paul-moore.com
From: Wang Hai <[email protected]>
Date: Tue, 8 Sep 2020 21:59:15 +0800
Quoted 6 lines
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 <[email protected]>Signed-off-by Wang Hai <[email protected]>
Applied.