mirror of https://gitee.com/openkylin/linux.git
scsi: qla2xxx: Fix a couple of misdocumented functions
Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_target.c:6476: warning: expecting prototype for qla_tgt_lport_register(). Prototype was for qlt_lport_register() instead drivers/scsi/qla2xxx/qla_target.c:6546: warning: expecting prototype for qla_tgt_lport_deregister(). Prototype was for qlt_lport_deregister() instead Link: https://lore.kernel.org/r/20210312094738.2207817-12-lee.jones@linaro.org Cc: Nilesh Javali <njavali@marvell.com> Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Vladislav Bolkhovitin <vst@vlnb.net> Cc: Nathaniel Clark <nate@misrule.us> Cc: "Nicholas A. Bellinger" <nab@kernel.org> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
a736e44904
commit
dc49ab48a7
|
@ -6462,7 +6462,7 @@ static void qlt_lport_dump(struct scsi_qla_host *vha, u64 wwpn,
|
|||
}
|
||||
|
||||
/**
|
||||
* qla_tgt_lport_register - register lport with external module
|
||||
* qlt_lport_register - register lport with external module
|
||||
*
|
||||
* @target_lport_ptr: pointer for tcm_qla2xxx specific lport data
|
||||
* @phys_wwpn: physical port WWPN
|
||||
|
@ -6538,7 +6538,7 @@ int qlt_lport_register(void *target_lport_ptr, u64 phys_wwpn,
|
|||
EXPORT_SYMBOL(qlt_lport_register);
|
||||
|
||||
/**
|
||||
* qla_tgt_lport_deregister - Degister lport
|
||||
* qlt_lport_deregister - Degister lport
|
||||
*
|
||||
* @vha: Registered scsi_qla_host pointer
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue