mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-02-01 18:28:53 +00:00
nvme-fc: fix the function documentation comment
The nvme_fc_rcv_ls_req() function has first argument as pointer to remoteport named portprt, but in the documentation comment that is name is used as remoteport. Fix that to get rid if the compilation warning. drivers/nvme//host/fc.c:1724: warning: Function parameter or member 'portptr' not described in 'nvme_fc_rcv_ls_req' drivers/nvme//host/fc.c:1724: warning: Excess function parameter 'remoteport' description in 'nvme_fc_rcv_ls_req' Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
f1c772d581
commit
2afc4866c4
@ -1708,7 +1708,7 @@ restart:
|
||||
*
|
||||
* If this routine returns error, the LLDD should abort the exchange.
|
||||
*
|
||||
* @remoteport: pointer to the (registered) remote port that the LS
|
||||
* @portptr: pointer to the (registered) remote port that the LS
|
||||
* was received from. The remoteport is associated with
|
||||
* a specific localport.
|
||||
* @lsrsp: pointer to a nvmefc_ls_rsp response structure to be
|
||||
|
||||
Loading…
Reference in New Issue
Block a user