]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/iwcm: fix some kernel-doc issues in iw_cm.h
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 24 Feb 2026 00:31:34 +0000 (16:31 -0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 24 Feb 2026 10:39:13 +0000 (05:39 -0500)
commit16dc2d72de577de4b413ba01b1b4a80d31832022
tree17f37a2c5575469036d5f787ddbe01e347debdfa
parentff46d1392750444fab5ae5a0194764ffdc4ac0d2
RDMA/iwcm: fix some kernel-doc issues in iw_cm.h

Use the "typedef" keyword as needed.
Correct 2 function parameter names.

Warning: include/rdma/iw_cm.h:42 function parameter 'iw_cm_handler' not
 described in 'int'
Warning: include/rdma/iw_cm.h:42 expecting prototype for iw_cm_handler().
 Prototype was for int() instead
Warning: include/rdma/iw_cm.h:53 function parameter 'iw_event_handler' not
 described in 'int'
Warning: include/rdma/iw_cm.h:53 expecting prototype for
 iw_event_handler(). Prototype was for int() instead
Warning: include/rdma/iw_cm.h:104 function parameter 'cm_handler' not
 described in 'iw_create_cm_id'
Warning: include/rdma/iw_cm.h:158 function parameter 'private_data' not
 described in 'iw_cm_reject'

(not adding missing return value kernel-doc descriptions)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260224003134.3174856-1-rdunlap@infradead.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/rdma/iw_cm.h