Skip to content

Commit 007c04e

Browse files
rddunlapmartinkpetersen
authored andcommitted
scsi: scsi_transport_fc: Add kernel-doc for function return
Add function return value to prevent a kernel-doc warning: scsi_transport_fc.h:780: warning: No description found for return value of 'fc_remote_port_chkready' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20240408025425.18778-8-rdunlap@infradead.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 8d523f0 commit 007c04e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

include/scsi/scsi_transport_fc.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,9 @@ struct fc_function_template {
770770
/**
771771
* fc_remote_port_chkready - called to validate the remote port state
772772
* prior to initiating io to the port.
773-
*
774-
* Returns a scsi result code that can be returned by the LLDD.
775-
*
776773
* @rport: remote port to be checked
774+
*
775+
* Returns: a scsi result code that can be returned by the LLDD.
777776
**/
778777
static inline int
779778
fc_remote_port_chkready(struct fc_rport *rport)

0 commit comments

Comments
 (0)