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

scsi: bnx2fc: Demote obvious misuse of kerneldoc to standard comment blocks

No attempt has been made to document either of the demoted functions here.

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

drivers/scsi/bnx2fc/bnx2fc_tgt.c:442: warning: Function parameter or member 'lport' not described in 'bnx2fc_rport_event_handler'
drivers/scsi/bnx2fc/bnx2fc_tgt.c:442: warning: Function parameter or member 'rdata' not described in 'bnx2fc_rport_event_handler'
drivers/scsi/bnx2fc/bnx2fc_tgt.c:442: warning: Function parameter or member 'event' not described in 'bnx2fc_rport_event_handler'
drivers/scsi/bnx2fc/bnx2fc_tgt.c:665: warning: Function parameter or member 'hba' not described in 'bnx2fc_alloc_session_resc'
drivers/scsi/bnx2fc/bnx2fc_tgt.c:665: warning: Function parameter or member 'tgt' not described in 'bnx2fc_alloc_session_resc'

Link: https://lore.kernel.org/r/20200713074645.126138-18-lee.jones@linaro.org
Cc: QLogic-Storage-Upstream@qlogic.com
Cc: Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Lee Jones and committed by
Martin K. Petersen
2bd92b33 50efc51c

+3 -4
+3 -4
drivers/scsi/bnx2fc/bnx2fc_tgt.c
··· 431 431 return 0; 432 432 } 433 433 434 - /** 434 + /* 435 435 * This event_callback is called after successful completion of libfc 436 436 * initiated target login. bnx2fc can proceed with initiating the session 437 437 * establishment. ··· 656 656 spin_unlock_bh(&hba->hba_lock); 657 657 } 658 658 659 - /** 660 - *bnx2fc_alloc_session_resc - Allocate qp resources for the session 661 - * 659 + /* 660 + * bnx2fc_alloc_session_resc - Allocate qp resources for the session 662 661 */ 663 662 static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, 664 663 struct bnx2fc_rport *tgt)