Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netlabel: Fix some kernel-doc warnings

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

net/netlabel/netlabel_calipso.c:438: warning: Excess function parameter 'audit_secid' description in 'calipso_doi_remove'
net/netlabel/netlabel_calipso.c:605: warning: Excess function parameter 'reg' description in 'calipso_req_delattr'

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>

authored by

Wang Hai and committed by
David S. Miller
8c70b268 4ff62d82

+2 -2
+2 -2
net/netlabel/netlabel_calipso.c
··· 426 426 /** 427 427 * calipso_doi_remove - Remove an existing DOI from the CALIPSO protocol engine 428 428 * @doi: the DOI value 429 - * @audit_secid: the LSM secid to use in the audit message 429 + * @audit_info: NetLabel audit information 430 430 * 431 431 * Description: 432 432 * Removes a DOI definition from the CALIPSO engine. The NetLabel routines will ··· 595 595 596 596 /** 597 597 * calipso_req_delattr - Delete the CALIPSO option from a request socket 598 - * @reg: the request socket 598 + * @req: the request socket 599 599 * 600 600 * Description: 601 601 * Removes the CALIPSO option from a request socket, if present.