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

scsi: be2iscsi: Add missing function parameter description

Also promote fully documented function header to kerneldoc.

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

drivers/scsi/be2iscsi/be_mgmt.c:112: warning: Function parameter or member 'phba' not described in 'mgmt_open_connection'

Link: https://lore.kernel.org/r/20200713080001.128044-20-lee.jones@linaro.org
Cc: Subbu Seetharaman <subbu.seetharaman@broadcom.com>
Cc: Ketan Mukadam <ketan.mukadam@broadcom.com>
Cc: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Cc: linux-drivers@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
7405edfd dbc019a4

+2 -1
+2 -1
drivers/scsi/be2iscsi/be_mgmt.c
··· 97 97 98 98 /** 99 99 * mgmt_open_connection()- Establish a TCP CXN 100 + * @phba: driver priv structure 100 101 * @dst_addr: Destination Address 101 102 * @beiscsi_ep: ptr to device endpoint struct 102 103 * @nonemb_cmd: ptr to memory allocated for command ··· 210 209 return tag; 211 210 } 212 211 213 - /* 212 + /** 214 213 * beiscsi_exec_nemb_cmd()- execute non-embedded MBX cmd 215 214 * @phba: driver priv structure 216 215 * @nonemb_cmd: DMA address of the MBX command to be issued