Skip to content

Commit 8c70b26

Browse files
Wang Haidavem330
authored andcommitted
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>
1 parent 4ff62d8 commit 8c70b26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎net/netlabel/netlabel_calipso.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ void calipso_doi_free(struct calipso_doi *doi_def)
426426
/**
427427
* calipso_doi_remove - Remove an existing DOI from the CALIPSO protocol engine
428428
* @doi: the DOI value
429-
* @audit_secid: the LSM secid to use in the audit message
429+
* @audit_info: NetLabel audit information
430430
*
431431
* Description:
432432
* Removes a DOI definition from the CALIPSO engine. The NetLabel routines will
@@ -595,7 +595,7 @@ int calipso_req_setattr(struct request_sock *req,
595595

596596
/**
597597
* calipso_req_delattr - Delete the CALIPSO option from a request socket
598-
* @reg: the request socket
598+
* @req: the request socket
599599
*
600600
* Description:
601601
* Removes the CALIPSO option from a request socket, if present.

0 commit comments

Comments
 (0)