[PATCH V2 6/8] nvme-fc: fix the function documentation comment

James Smart jsmart2021 at gmail.com
Mon Mar 1 19:09:42 GMT 2021


On 2/28/2021 6:06 PM, Chaitanya Kulkarni wrote:
> 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 at wdc.com>
>

Thanks

Reviewed-by:  James Smart <jsmart2021 at gmail.com>

-- james



More information about the Linux-nvme mailing list